NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix streaming dialog and use less text on register button (#16518)
Josh Hawkinsd6b5dc93cca3
diff --git a/web/src/components/menu/LiveContextMenu.tsx b/web/src/components/menu/LiveContextMenu.tsxindex 81be53f58d..07909a311f 100644--- a/web/src/components/menu/LiveContextMenu.tsx+++ b/web/src/components/menu/LiveContextMenu.tsx@@ -85,9 +85,7 @@ export default function LiveContextMenu({if (cameraGroup && cameraGroup != "default") {setGroupStreamingSettings(allGroupsStreamingSettings[cameraGroup]);}- // set individual group when all groups changes- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [allGroupsStreamingSettings]);+ }, [allGroupsStreamingSettings, cameraGroup]);const onSave = useCallback((settings: GroupStreamingSettings) => {diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsxindex 5ea545fb33..3918949d0d 100644--- a/web/src/views/settings/NotificationsSettingsView.tsx+++ b/web/src/views/settings/NotificationsSettingsView.tsx@@ -484,7 +484,7 @@ export default function NotificationView({}}}>- {`${registration != null ? "Unregister" : "Register"} for notifications on this device`}+ {`${registration != null ? "Unregister" : "Register"} this device`}</Button>{registration != null && registration.active && (<Button