From 40b272bb240f8a71eefb19d67a03acee24cdf15e Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 14 Dec 2025 19:08:24 +0000 Subject: [PATCH] fix: Quick tips banner incorrectly states 0 disables alerts, should be -1 The Quick tips banner on the Alerts page said "Set any threshold to 0" but the actual code uses -1 to disable alerts. The tooltips on individual fields were correct; only the top-of-page banner was wrong. Related to #843 --- frontend-modern/src/components/Alerts/ThresholdsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx index 38fb805bb..d3e5061c3 100644 --- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx +++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx @@ -2200,7 +2200,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
Quick tips: Set any threshold to{' '} - 0 + -1 {' '} to disable alerts for that metric. Click on disabled thresholds showing{' '} Off to re-enable them. Resources with custom settings show a{' '}