diff --git a/web/src/components/filter/SearchFilterGroup.tsx b/web/src/components/filter/SearchFilterGroup.tsx index e6a8214c38..77cd95db0f 100644 --- a/web/src/components/filter/SearchFilterGroup.tsx +++ b/web/src/components/filter/SearchFilterGroup.tsx @@ -69,6 +69,10 @@ export default function SearchFilterGroup({ } }); + if (cameraConfig.type == "lpr") { + labels.add("license_plate"); + } + if (cameraConfig.audio.enabled_in_config) { cameraConfig.audio.listen.forEach((label) => { labels.add(label); diff --git a/web/src/types/frigateConfig.ts b/web/src/types/frigateConfig.ts index d66d5edcbf..4ed9318610 100644 --- a/web/src/types/frigateConfig.ts +++ b/web/src/types/frigateConfig.ts @@ -241,6 +241,7 @@ export interface CameraConfig { position: string; thickness: number; }; + type: string; ui: UiConfig; webui_url: string | null; zones: {