[pdm-devel] [PATCH datacenter-manager 3/4] ui: pve: storage: fix rrd update
Dominik Csapak
d.csapak at proxmox.com
Fri Sep 26 09:20:07 CEST 2025
we saved the rrd timeout into the _status_timeout, so we overwrote it
and never updated the status
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
ui/src/pve/storage.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/pve/storage.rs b/ui/src/pve/storage.rs
index ababb7e0..db25c1d3 100644
--- a/ui/src/pve/storage.rs
+++ b/ui/src/pve/storage.rs
@@ -199,7 +199,7 @@ impl yew::Component for StoragePanelComp {
}
Err(err) => self.last_rrd_error = Some(err),
}
- self._status_timeout = Some(Timeout::new(props.rrd_interval, move || {
+ self._rrd_timeout = Some(Timeout::new(props.rrd_interval, move || {
link.send_message(Msg::ReloadRrd)
}));
true
--
2.47.3
More information about the pdm-devel
mailing list