Fix streaming dialog and use less text on register button (#16518)

This commit is contained in:
Josh Hawkins
2025-02-12 07:16:32 -06:00
committed by GitHub
parent 11baf237bc
commit d6b5dc93cc
2 changed files with 2 additions and 4 deletions

View File

@@ -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) => {

View File

@@ -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