mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
turn off editing mode when switching camera
This commit is contained in:
parent
bd1fb901a7
commit
083ca94c48
@ -338,6 +338,7 @@ export default function MasksAndZones({
|
||||
useEffect(() => {
|
||||
if (selectedCamera) {
|
||||
setActivePolygonIndex(undefined);
|
||||
setEditPane(undefined);
|
||||
}
|
||||
}, [selectedCamera]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user