mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix crash for when group includes birdseye (#11175)
This commit is contained in:
parent
11ff7cb2b7
commit
0080c28c4d
@ -109,6 +109,9 @@ export default function MobileReviewSettingsDrawer({
|
|||||||
const cameras = filter?.cameras || Object.keys(config.cameras);
|
const cameras = filter?.cameras || Object.keys(config.cameras);
|
||||||
|
|
||||||
cameras.forEach((camera) => {
|
cameras.forEach((camera) => {
|
||||||
|
if (camera == "birdseye") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const cameraConfig = config.cameras[camera];
|
const cameraConfig = config.cameras[camera];
|
||||||
cameraConfig.objects.track.forEach((label) => {
|
cameraConfig.objects.track.forEach((label) => {
|
||||||
labels.add(label);
|
labels.add(label);
|
||||||
|
Loading…
Reference in New Issue
Block a user