From 0cc295066c9eeae346889f557f37fed412a6cf51 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Mon, 12 Jan 2026 21:09:26 +0000 Subject: [PATCH] fix(alerts): allow configuration access when alerts are disabled Users should be able to configure alert thresholds, notifications, and schedules regardless of whether alert notifications are enabled. The enable/disable toggle only controls whether notifications are sent, not whether users can access the configuration. Previously, when alerts were in 'pending_review' or 'snoozed' state, all configuration tabs were disabled, forcing users to the Overview tab only. Fixes #1101 --- frontend-modern/src/pages/Alerts.tsx | 79 +++++++++++----------------- 1 file changed, 30 insertions(+), 49 deletions(-) diff --git a/frontend-modern/src/pages/Alerts.tsx b/frontend-modern/src/pages/Alerts.tsx index 6d38df4f3..0bda0643a 100644 --- a/frontend-modern/src/pages/Alerts.tsx +++ b/frontend-modern/src/pages/Alerts.tsx @@ -1937,9 +1937,7 @@ export function Alerts() { -
- +
- {(item) => { - const disabled = () => item.id !== 'overview' && !isAlertsActive(); - return ( - - ); - }} + {(item) => ( + + )}
@@ -2046,26 +2035,18 @@ export function Alerts() { style="-webkit-overflow-scrolling: touch;" > - {(tab) => { - const disabled = () => tab.id !== 'overview' && !isAlertsActive(); - return ( - - ); - }} + {(tab) => ( + + )}