[pdm-devel] [PATCH datacenter-manager 12/13] ui: remote updates: use 'building-o' icon for PBS nodes

Lukas Wagner l.wagner at proxmox.com
Thu Nov 27 11:44:46 CET 2025


We do so in many other places in the UI. This gives a better visual
distinction between PVE and PBS nodes.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 ui/src/remotes/updates.rs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ui/src/remotes/updates.rs b/ui/src/remotes/updates.rs
index 7284fd47..faa38fcd 100644
--- a/ui/src/remotes/updates.rs
+++ b/ui/src/remotes/updates.rs
@@ -134,7 +134,13 @@ impl UpdateTreeComponent {
                 .render(|entry: &UpdateTreeEntry| {
                     let icon = match entry {
                         UpdateTreeEntry::Remote(_) => Some("server"),
-                        UpdateTreeEntry::Node(_) => Some("building"),
+                        UpdateTreeEntry::Node(node_entry) => {
+                            if node_entry.ty == RemoteType::Pbs {
+                                Some("building-o")
+                            } else {
+                                Some("building")
+                            }
+                        }
                         _ => None,
                     };
 
-- 
2.47.3





More information about the pdm-devel mailing list