diff --git a/frontend-modern/src/components/Alerts/ResourceTable.tsx b/frontend-modern/src/components/Alerts/ResourceTable.tsx index 3265a892f..3121e739d 100644 --- a/frontend-modern/src/components/Alerts/ResourceTable.tsx +++ b/frontend-modern/src/components/Alerts/ResourceTable.tsx @@ -511,7 +511,7 @@ export function ResourceTable(props: ResourceTableProps) {
- + { const m = normalizeMetricKey(c); return m !== 'backup' && m !== 'snapshot'; })}> {(column) => { const metric = normalizeMetricKey(column); const bounds = metricBounds(metric); diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx index 102e6b33d..3c35281dc 100644 --- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx +++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx @@ -2062,6 +2062,12 @@ export function ThresholdsTable(props: ThresholdsTableProps) { } else { delete hysteresisThresholds.note; } + if (previousRaw?.backup) { + hysteresisThresholds.backup = previousRaw.backup; + } + if (previousRaw?.snapshot) { + hysteresisThresholds.snapshot = previousRaw.snapshot; + } newRawConfig[resourceId] = hysteresisThresholds; props.setRawOverridesConfig(newRawConfig);