mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
bugfixes (#11526)
This commit is contained in:
parent
681c7367d7
commit
3f171e7670
@ -237,7 +237,7 @@ def update_yaml(data, key_path, new_value):
|
|||||||
temp[key[0]] += [{}] * (key[1] - len(temp[key[0]]) + 1)
|
temp[key[0]] += [{}] * (key[1] - len(temp[key[0]]) + 1)
|
||||||
temp = temp[key[0]][key[1]]
|
temp = temp[key[0]][key[1]]
|
||||||
else:
|
else:
|
||||||
if key not in temp:
|
if key not in temp or temp[key] is None:
|
||||||
temp[key] = {}
|
temp[key] = {}
|
||||||
temp = temp[key]
|
temp = temp[key]
|
||||||
|
|
||||||
|
@ -663,6 +663,7 @@ export function CameraGroupEdit({
|
|||||||
<FormDescription>
|
<FormDescription>
|
||||||
Select cameras for this group.
|
Select cameras for this group.
|
||||||
</FormDescription>
|
</FormDescription>
|
||||||
|
<FormMessage />
|
||||||
{[
|
{[
|
||||||
...(birdseyeConfig?.enabled ? ["birdseye"] : []),
|
...(birdseyeConfig?.enabled ? ["birdseye"] : []),
|
||||||
...Object.keys(config?.cameras ?? {}),
|
...Object.keys(config?.cameras ?? {}),
|
||||||
@ -680,7 +681,6 @@ export function CameraGroupEdit({
|
|||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
))}
|
))}
|
||||||
<FormMessage />
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user