diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsx index fc2a2bf8f..cd8cc6b0a 100644 --- a/web/src/pages/Live.tsx +++ b/web/src/pages/Live.tsx @@ -113,7 +113,7 @@ function Live() { ) : ( - config.camera_groups[cameraGroup].cameras.includes(cam.name), - ) .map((cam) => cam.name) + .filter((cam) => + config.camera_groups[cameraGroup].cameras.includes(cam), + ) .join(","), }, ]);