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 Agent toggle visual state not updating after click

rcourtman48478e3dcc04
diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
index fd475c23d5..da225b07c2 100644
--- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
+++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
@@ -810,6 +810,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
hasCustomThresholds ||
Boolean(override?.disabled) ||
Boolean(override?.disableConnectivity),
+ disabled: override?.disabled || false,
disableConnectivity: override?.disableConnectivity || false,
thresholds: override?.thresholds || {},
defaults: props.hostDefaults,
@@ -831,6 +832,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
instance: '',
status: 'unknown',
hasOverride: true,
+ disabled: override.disabled || false,
disableConnectivity: override.disableConnectivity || false,
thresholds: override.thresholds || {},
defaults: props.hostDefaults,