mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 12:02:09 +03:00
ensure group icon changes when using url param
This commit is contained in:
parent
c10229da5d
commit
88ebb47dd8
@ -35,6 +35,10 @@ function Live() {
|
|||||||
|
|
||||||
if (group) {
|
if (group) {
|
||||||
setCameraGroup(cameraGroup);
|
setCameraGroup(cameraGroup);
|
||||||
|
// return false so that url cleanup doesn't occur here
|
||||||
|
// will be cleaned up by usePersistedOverlayState in the
|
||||||
|
// camera group selector s that the icon switches correctly
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user