[pdm-devel] [PATCH datacenter-manager 7/7] ui: dashboard: filter by remote type for PVE and PBS node status panel
Christian Ebner
c.ebner at proxmox.com
Mon Oct 13 10:56:23 CEST 2025
Instead of showing the node type resources unconditionally when clicking
the PVE or PBS node panel, distinguish based on the recently added
remote type filtering capability.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
ui/src/dashboard/mod.rs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ui/src/dashboard/mod.rs b/ui/src/dashboard/mod.rs
index 1ec0456..911e48b 100644
--- a/ui/src/dashboard/mod.rs
+++ b/ui/src/dashboard/mod.rs
@@ -165,7 +165,10 @@ impl PdmDashboard {
title: String,
remote_type: RemoteType,
) -> Panel {
- let mut search_terms = vec![SearchTerm::new("node").category(Some("type"))];
+ let mut search_terms = vec![
+ SearchTerm::new("node").category(Some("type")),
+ SearchTerm::new(remote_type.to_string()).category(Some("remote-type")),
+ ];
let (status_icon, text): (Fa, String) = match &self.status {
Some(status) => {
let node_status = match remote_type {
--
2.47.3
More information about the pdm-devel
mailing list