mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
ensure license_plate is added to filter list for dedicated lpr cameras
This commit is contained in:
parent
76dfacec9e
commit
10c730501a
@ -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);
|
||||
|
||||
@ -241,6 +241,7 @@ export interface CameraConfig {
|
||||
position: string;
|
||||
thickness: number;
|
||||
};
|
||||
type: string;
|
||||
ui: UiConfig;
|
||||
webui_url: string | null;
|
||||
zones: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user