diff --git a/web/src/components/card/AnimatedEventCard.tsx b/web/src/components/card/AnimatedEventCard.tsx index 150613967..bb502ef06 100644 --- a/web/src/components/card/AnimatedEventCard.tsx +++ b/web/src/components/card/AnimatedEventCard.tsx @@ -57,7 +57,10 @@ export function AnimatedEventCard({ const navigate = useNavigate(); const onOpenReview = useCallback(() => { - const url = selectedGroup ? `review?group=${selectedGroup}` : "review"; + const url = + selectedGroup && selectedGroup != "default" + ? `review?group=${selectedGroup}` + : "review"; navigate(url, { state: { severity: event.severity, diff --git a/web/src/pages/Events.tsx b/web/src/pages/Events.tsx index e106f0827..4e539c5ea 100644 --- a/web/src/pages/Events.tsx +++ b/web/src/pages/Events.tsx @@ -69,7 +69,7 @@ export default function Events() { useApiFilter(); useSearchEffect("group", (reviewGroup) => { - if (config && reviewGroup) { + if (config && reviewGroup && reviewGroup != "default") { const group = config.camera_groups[reviewGroup]; const isBirdseyeOnly = group.cameras.length == 1 && group.cameras[0] == "birdseye";