forked from Github/frigate
Use refs for proper js closures in the liveReady timeout (#12464)
This commit is contained in:
@@ -79,7 +79,7 @@ export default function LiveDashboardView({
|
||||
|
||||
return cameras
|
||||
.map((cam) => cam.name)
|
||||
.filter((cam) => config.camera_groups[cameraGroup].cameras.includes(cam))
|
||||
.filter((cam) => config.camera_groups[cameraGroup]?.cameras.includes(cam))
|
||||
.join(",");
|
||||
}, [cameras, cameraGroup, config, includeBirdseye]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user