mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Fix alert filtering
This commit is contained in:
parent
84348350fe
commit
e8afdf21df
@ -79,8 +79,9 @@ export default function LiveDashboardView({
|
|||||||
|
|
||||||
return cameras
|
return cameras
|
||||||
.map((cam) => cam.name)
|
.map((cam) => cam.name)
|
||||||
.filter((cam) => config.camera_groups[cameraGroup]?.cameras.includes(cam))
|
.filter((cam) =>
|
||||||
.join(",");
|
config.camera_groups[cameraGroup]?.cameras?.includes(cam),
|
||||||
|
) .join(",");
|
||||||
}, [cameras, cameraGroup, config, includeBirdseye]);
|
}, [cameras, cameraGroup, config, includeBirdseye]);
|
||||||
|
|
||||||
const { data: allEvents, mutate: updateEvents } = useSWR<ReviewSegment[]>([
|
const { data: allEvents, mutate: updateEvents } = useSWR<ReviewSegment[]>([
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user