mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-14 00:17:05 +01:00
Fix streaming dialog and use less text on register button (#16518)
This commit is contained in:
parent
11baf237bc
commit
d6b5dc93cc
@ -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) => {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user