From 9241ddc1f022cb149853c30f5fdd1905a7b0e609 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:01:21 -0500 Subject: [PATCH] fix notifications register button from being incorrectly disabled --- web/src/views/settings/NotificationsSettingsView.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsx index 410ba9742..36213fc0e 100644 --- a/web/src/views/settings/NotificationsSettingsView.tsx +++ b/web/src/views/settings/NotificationsSettingsView.tsx @@ -523,7 +523,9 @@ export default function NotificationView({ aria-label={t("notification.registerDevice")} disabled={ (!config?.notifications.enabled && - notificationCameras.length === 0) || + notificationCameras.length === 0 && + !form.watch("allEnabled") && + form.watch("cameras").length === 0) || publicKey == undefined } onClick={() => {