mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Filter alerts by camera group (#12456)
This commit is contained in:
parent
3afd77cbe0
commit
5066fa369d
@ -66,7 +66,11 @@ export default function LiveDashboardView({
|
||||
const eventUpdate = useFrigateReviews();
|
||||
const { data: allEvents, mutate: updateEvents } = useSWR<ReviewSegment[]>([
|
||||
"review",
|
||||
{ limit: 10, severity: "alert" },
|
||||
{
|
||||
limit: 10,
|
||||
severity: "alert",
|
||||
cameras: cameraGroup && cameras.filter((cam) => cam.name).join(","),
|
||||
},
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user