From 8f066ea8bd8cde1e115da2fde1080a039350ef3b Mon Sep 17 00:00:00 2001 From: ZhaiSoul <842607283@qq.com> Date: Fri, 8 Aug 2025 08:35:22 +0000 Subject: [PATCH] fix: fix if filterValues is number will be crash --- web/src/components/input/InputWithTags.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 web/src/components/input/InputWithTags.tsx diff --git a/web/src/components/input/InputWithTags.tsx b/web/src/components/input/InputWithTags.tsx old mode 100644 new mode 100755 index 0e29c3015..21a7d2851 --- a/web/src/components/input/InputWithTags.tsx +++ b/web/src/components/input/InputWithTags.tsx @@ -424,7 +424,7 @@ export default function InputWithTags({ } else if (filterType === "search_type") { return t("filter.searchType." + (filterValues as string)); } else { - return (filterValues as string).replaceAll("_", " "); + return String(filterValues).replaceAll("_", " ") as string; } }