Fix offline alert state not displaying in thresholds UI (related to #683)
When disabling offline alerts for VMs/containers, the setting was being persisted correctly and honored by the alert system, but the UI always showed "Warn" instead of the actual saved state. Root cause: When reconstructing the overrides list from backend config, the guest override mapping was copying poweredOffSeverity but omitting disableConnectivity, causing ResourceTable to fall back to global defaults. Fix: Add disableConnectivity field to guest override reconstruction in Alerts.tsx (line 676), matching the pattern already used for Docker containers.
This commit is contained in:
parent
14ac4bbb8b
commit
bb6ea3b23c
1 changed files with 1 additions and 0 deletions
|
|
@ -673,6 +673,7 @@ const [appriseConfig, setAppriseConfig] = createSignal<UIAppriseConfig>(
|
|||
node: guest.node,
|
||||
instance: guest.instance,
|
||||
disabled: thresholds.disabled || false,
|
||||
disableConnectivity: thresholds.disableConnectivity || false,
|
||||
poweredOffSeverity:
|
||||
thresholds.poweredOffSeverity === 'critical'
|
||||
? 'critical'
|
||||
|
|
|
|||
Loading…
Reference in a new issue