From 5066fa369d71b36da1f7b4a52bc90ce0211d237a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 15 Jul 2024 06:35:41 -0600 Subject: [PATCH] Filter alerts by camera group (#12456) --- web/src/views/live/LiveDashboardView.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx index 82fbfb523..800c80f17 100644 --- a/web/src/views/live/LiveDashboardView.tsx +++ b/web/src/views/live/LiveDashboardView.tsx @@ -66,7 +66,11 @@ export default function LiveDashboardView({ const eventUpdate = useFrigateReviews(); const { data: allEvents, mutate: updateEvents } = useSWR([ "review", - { limit: 10, severity: "alert" }, + { + limit: 10, + severity: "alert", + cameras: cameraGroup && cameras.filter((cam) => cam.name).join(","), + }, ]); useEffect(() => {