Skip to content

Commit

Permalink
bugfixes (#11526)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed May 26, 2024
1 parent 681c736 commit 3f171e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frigate/util/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion web/src/components/filter/CameraGroupSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ export function CameraGroupEdit({
<FormDescription>
Select cameras for this group.
</FormDescription>
<FormMessage />
{[
...(birdseyeConfig?.enabled ? ["birdseye"] : []),
...Object.keys(config?.cameras ?? {}),
Expand All @@ -680,7 +681,6 @@ export function CameraGroupEdit({
/>
</FormControl>
))}
<FormMessage />
</FormItem>
)}
/>
Expand Down

0 comments on commit 3f171e7

Please sign in to comment.