From 74b66139d4059ac5277c05e212ea27ce036e864e Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 15 Jul 2024 08:56:39 -0600 Subject: [PATCH] Cleanup --- web/src/pages/Live.tsx | 2 +- web/src/views/live/LiveDashboardView.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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(","), }, ]);