NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix if search word is number will be crash (#19426)
GuoQing Liu6f2e6c4cb24c
diff --git a/web/src/components/input/InputWithTags.tsx b/web/src/components/input/InputWithTags.tsxold mode 100644new mode 100755index 0e29c30155..413dd64b17--- a/web/src/components/input/InputWithTags.tsx+++ b/web/src/components/input/InputWithTags.tsx@@ -420,11 +420,11 @@ export default function InputWithTags({? t("button.yes", { ns: "common" }): t("button.no", { ns: "common" });} else if (filterType === "labels") {- return getTranslatedLabel(filterValues as string);+ return getTranslatedLabel(String(filterValues));} else if (filterType === "search_type") {- return t("filter.searchType." + (filterValues as string));+ return t("filter.searchType." + String(filterValues));} else {- return (filterValues as string).replaceAll("_", " ");+ return String(filterValues).replaceAll("_", " ");}}