[pdm-devel] [PATCH proxmox-datacenter-manager 1/3] ui: indicate removable datastore in overview and show backing device
Christian Ebner
c.ebner at proxmox.com
Tue Nov 4 15:49:03 CET 2025
Allows to identify removable datastores and their backing device
easily from the datastore overview.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
ui/src/pbs/datastore/overview.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ui/src/pbs/datastore/overview.rs b/ui/src/pbs/datastore/overview.rs
index 14e0add..264ea36 100644
--- a/ui/src/pbs/datastore/overview.rs
+++ b/ui/src/pbs/datastore/overview.rs
@@ -209,6 +209,11 @@ impl yew::Component for DataStoreOverviewComp {
StatusRow::new(tr!("Maintenance Mode"))
.icon_class("fa fa-fw fa-wrench")
.status(mode)
+ }))
+ .with_optional_child(props.config.backing_device.as_deref().map(|uuid| {
+ StatusRow::new(tr!("Removable"))
+ .icon_class("fa fa-fw fa-plug")
+ .status(tr!("backing device UUID: {0}", uuid))
})),
)
.with_child(separator().padding_x(4))
--
2.47.3
More information about the pdm-devel
mailing list