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
|
||||
cameras={cameras}
|
||||
cameraGroup={cameraGroup}
|
||||
cameraGroup={cameraGroup ?? "default"}
|
||||
includeBirdseye={includesBirdseye}
|
||||
onSelectCamera={setSelectedCameraName}
|
||||
fullscreen={fullscreen}
|
||||
|
||||
@ -73,10 +73,10 @@ export default function LiveDashboardView({
|
||||
config == undefined || cameraGroup == "default"
|
||||
? null
|
||||
: cameras
|
||||
.filter((cam) =>
|
||||
config.camera_groups[cameraGroup].cameras.includes(cam.name),
|
||||
)
|
||||
.map((cam) => cam.name)
|
||||
.filter((cam) =>
|
||||
config.camera_groups[cameraGroup].cameras.includes(cam),
|
||||
)
|
||||
.join(","),
|
||||
},
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user