From 0080c28c4d4161bdbd63e82687d896df2f674f00 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 30 Apr 2024 07:59:45 -0500 Subject: [PATCH] fix crash for when group includes birdseye (#11175) --- web/src/components/overlay/MobileReviewSettingsDrawer.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx index 4825a8984..4cf251cb3 100644 --- a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx +++ b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx @@ -109,6 +109,9 @@ export default function MobileReviewSettingsDrawer({ const cameras = filter?.cameras || Object.keys(config.cameras); cameras.forEach((camera) => { + if (camera == "birdseye") { + return; + } const cameraConfig = config.cameras[camera]; cameraConfig.objects.track.forEach((label) => { labels.add(label);