forked from Github/frigate
UI Fixes (#11742)
* Allow deleting failed in progress exports * Fix comparison and preview retrieval * Fix stretching of event cards * Reset edit state when group changes * Allow specifying group
This commit is contained in:
@@ -91,8 +91,16 @@ export default function DraggableGridLayout({
|
||||
);
|
||||
}, [config]);
|
||||
|
||||
// editing
|
||||
|
||||
const [editGroup, setEditGroup] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
setEditGroup(false);
|
||||
}, [cameraGroup]);
|
||||
|
||||
// camera state
|
||||
|
||||
const [currentCameras, setCurrentCameras] = useState<CameraConfig[]>();
|
||||
const [currentIncludeBirdseye, setCurrentIncludeBirdseye] =
|
||||
useState<boolean>();
|
||||
|
||||
Reference in New Issue
Block a user