Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix: Hide non-functional edit button for Docker hosts in thresholds table. Related to discussion #1040

rcourtman0b6bceb96f91
diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
index 1f16c74a4e..9a4d44292a 100644
--- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
+++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
@@ -894,6 +894,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
disableConnectivity,
thresholds: override?.thresholds || {},
defaults: {},
+ editable: false,
} satisfies Resource;
});
@@ -917,6 +918,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
disableConnectivity: override.disableConnectivity || false,
thresholds: override.thresholds || {},
defaults: {},
+ editable: false,
});
});