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: Host Agents alert toggle button not working. Fixes #893

rcourtmand85cca3ace52
diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
index e8e77db9f5..d7b109e90e 100644
--- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
+++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
@@ -1926,6 +1926,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
...allDockerContainers,
...storageWithOverrides(),
...pbsServersWithOverrides(),
+ ...hostAgentsWithOverrides(),
];
const resource = allResources.find((r) => r.id === resourceId);
if (
@@ -1933,7 +1934,8 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
(resource.type !== 'guest' &&
resource.type !== 'storage' &&
resource.type !== 'pbs' &&
- resource.type !== 'dockerContainer')
+ resource.type !== 'dockerContainer' &&
+ resource.type !== 'hostAgent')
)
return;