Fix streaming dialog and use less text on register button

This commit is contained in:
Josh Hawkins 2025-02-11 21:51:00 -06:00
parent 11baf237bc
commit 4f1d9290aa
2 changed files with 2 additions and 4 deletions

View File

@ -85,9 +85,7 @@ export default function LiveContextMenu({
if (cameraGroup && cameraGroup != "default") { if (cameraGroup && cameraGroup != "default") {
setGroupStreamingSettings(allGroupsStreamingSettings[cameraGroup]); setGroupStreamingSettings(allGroupsStreamingSettings[cameraGroup]);
} }
// set individual group when all groups changes }, [allGroupsStreamingSettings, cameraGroup]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [allGroupsStreamingSettings]);
const onSave = useCallback( const onSave = useCallback(
(settings: GroupStreamingSettings) => { (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> </Button>
{registration != null && registration.active && ( {registration != null && registration.active && (
<Button <Button