mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
fix: fix if filterValues is number will be crash
This commit is contained in:
parent
49793aa655
commit
8f066ea8bd
2
web/src/components/input/InputWithTags.tsx
Normal file → Executable file
2
web/src/components/input/InputWithTags.tsx
Normal file → Executable file
@ -424,7 +424,7 @@ export default function InputWithTags({
|
|||||||
} else if (filterType === "search_type") {
|
} else if (filterType === "search_type") {
|
||||||
return t("filter.searchType." + (filterValues as string));
|
return t("filter.searchType." + (filterValues as string));
|
||||||
} else {
|
} else {
|
||||||
return (filterValues as string).replaceAll("_", " ");
|
return String(filterValues).replaceAll("_", " ") as string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user