[pdm-devel] [PATCH datacenter-manager 4/4] ui: pve: storage: remove unnecessary 'enabled' status line

Dominik Csapak d.csapak at proxmox.com
Fri Sep 26 09:20:08 CEST 2025


all storages that are visible in the tree must be enabled,
so this will always be true.

Since it does not add any useful information, just remove it.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/pve/storage.rs | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/ui/src/pve/storage.rs b/ui/src/pve/storage.rs
index db25c1d3..28671d77 100644
--- a/ui/src/pve/storage.rs
+++ b/ui/src/pve/storage.rs
@@ -257,15 +257,6 @@ impl yew::Component for StoragePanelComp {
         };
 
         status_comp = status_comp
-            .with_child(status_row_right_icon(
-                tr!("Enabled"),
-                if status.enabled.unwrap_or_default() {
-                    "fa-toggle-on"
-                } else {
-                    "fa-toggle-off"
-                },
-                String::new(),
-            ))
             .with_child(status_row_right_icon(
                 tr!("Active"),
                 if status.active.unwrap_or_default() {
-- 
2.47.3





More information about the pdm-devel mailing list