ensure license_plate is added to filter list for dedicated lpr cameras

This commit is contained in:
Josh Hawkins 2025-04-13 12:31:04 -05:00
parent 76dfacec9e
commit 10c730501a
2 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,10 @@ export default function SearchFilterGroup({
} }
}); });
if (cameraConfig.type == "lpr") {
labels.add("license_plate");
}
if (cameraConfig.audio.enabled_in_config) { if (cameraConfig.audio.enabled_in_config) {
cameraConfig.audio.listen.forEach((label) => { cameraConfig.audio.listen.forEach((label) => {
labels.add(label); labels.add(label);

View File

@ -241,6 +241,7 @@ export interface CameraConfig {
position: string; position: string;
thickness: number; thickness: number;
}; };
type: string;
ui: UiConfig; ui: UiConfig;
webui_url: string | null; webui_url: string | null;
zones: { zones: {