Skip to content

NVR with realtime local object detection for IP cameras

Hide hidden camera alerts (#22226)

Michal Srbc3c27d036f12
diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx
index dd8bb83f58..a25741f634 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)