mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-03-30 01:03:42 -04:00
EDIT - remove or condition
Signed-off-by: Damian Krysta <damian@krysta.dev>
This commit is contained in:
parent
f8ff07d2ad
commit
4d3d72c7b5
@ -156,7 +156,7 @@ const Multiview = (props: MultiviewProps) => {
|
|||||||
const [selected, updateSelected] = useReducer(
|
const [selected, updateSelected] = useReducer(
|
||||||
selectedReducer,
|
selectedReducer,
|
||||||
searchParams.has("cams")
|
searchParams.has("cams")
|
||||||
? JSON.parse(searchParams.get("cams") || "")
|
? JSON.parse(searchParams.get("cams"))
|
||||||
: Array(MAX_CAMERAS).fill(null)
|
: Array(MAX_CAMERAS).fill(null)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user