mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Cleanup
This commit is contained in:
parent
31ff890de7
commit
74b66139d4
@ -113,7 +113,7 @@ function Live() {
|
|||||||
) : (
|
) : (
|
||||||
<LiveDashboardView
|
<LiveDashboardView
|
||||||
cameras={cameras}
|
cameras={cameras}
|
||||||
cameraGroup={cameraGroup}
|
cameraGroup={cameraGroup ?? "default"}
|
||||||
includeBirdseye={includesBirdseye}
|
includeBirdseye={includesBirdseye}
|
||||||
onSelectCamera={setSelectedCameraName}
|
onSelectCamera={setSelectedCameraName}
|
||||||
fullscreen={fullscreen}
|
fullscreen={fullscreen}
|
||||||
|
|||||||
@ -73,10 +73,10 @@ export default function LiveDashboardView({
|
|||||||
config == undefined || cameraGroup == "default"
|
config == undefined || cameraGroup == "default"
|
||||||
? null
|
? null
|
||||||
: cameras
|
: cameras
|
||||||
.filter((cam) =>
|
|
||||||
config.camera_groups[cameraGroup].cameras.includes(cam.name),
|
|
||||||
)
|
|
||||||
.map((cam) => cam.name)
|
.map((cam) => cam.name)
|
||||||
|
.filter((cam) =>
|
||||||
|
config.camera_groups[cameraGroup].cameras.includes(cam),
|
||||||
|
)
|
||||||
.join(","),
|
.join(","),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user