fix crash for when group includes birdseye (#11175)

This commit is contained in:
Josh Hawkins 2024-04-30 07:59:45 -05:00 committed by GitHub
parent 11ff7cb2b7
commit 0080c28c4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);