From c3c27d036f12ae54ebac19d5747b82354f02091f Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 3 Mar 2026 14:29:57 +0100 Subject: [PATCH] Hide hidden camera alerts (#22226) Cameras that have `ui.dashboard = false` config are hidden from the All Cameras "default" group, but their alerts still appear in the top row. This hides the alerts as well. One can still view the hidden cameras and their alerts by making a custom camera group. --- web/src/views/live/LiveDashboardView.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx index dd8bb83f5..a25741f63 100644 --- a/web/src/views/live/LiveDashboardView.tsx +++ b/web/src/views/live/LiveDashboardView.tsx @@ -92,10 +92,17 @@ export default function LiveDashboardView({ const eventUpdate = useFrigateReviews(); const alertCameras = useMemo(() => { - if (!config || cameraGroup == "default") { + if (!config) { return null; } + if (cameraGroup == "default") { + return Object.values(config.cameras) + .filter((cam) => cam.ui.dashboard) + .map((cam) => cam.name) + .join(","); + } + if (includeBirdseye && cameras.length == 0) { return Object.values(config.cameras) .filter((cam) => cam.birdseye.enabled)