forked from Github/frigate
Ability to add, edit, and delete camera groups in the UI (#10296)
* Add dialog for creating new camera group * Support adding of camera groups and dynamically updating the config * Support deleting and edit existing camera groups * Don't show separator if user has no groups * Formatting * fix background
This commit is contained in:
@@ -204,9 +204,11 @@ export interface CameraConfig {
|
||||
};
|
||||
}
|
||||
|
||||
export const GROUP_ICONS = ["car", "cat", "dog", "leaf"] as const;
|
||||
|
||||
export type CameraGroupConfig = {
|
||||
cameras: string[];
|
||||
icon: string;
|
||||
icon: (typeof GROUP_ICONS)[number];
|
||||
order: number;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user