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 = temp[key[0]][key[1]]
|
||||
else:
|
||||
if key not in temp:
|
||||
if key not in temp or temp[key] is None:
|
||||
temp[key] = {}
|
||||
temp = temp[key]
|
||||
|
||||
|
@ -663,6 +663,7 @@ export function CameraGroupEdit({
|
||||
<FormDescription>
|
||||
Select cameras for this group.
|
||||
</FormDescription>
|
||||
<FormMessage />
|
||||
{[
|
||||
...(birdseyeConfig?.enabled ? ["birdseye"] : []),
|
||||
...Object.keys(config?.cameras ?? {}),
|
||||
@ -680,7 +681,6 @@ export function CameraGroupEdit({
|
||||
/>
|
||||
</FormControl>
|
||||
))}
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
)}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user