fix: fix if filterValues is number will be crash

This commit is contained in:
ZhaiSoul 2025-08-08 08:35:22 +00:00
parent 49793aa655
commit 8f066ea8bd

2
web/src/components/input/InputWithTags.tsx Normal file → Executable file
View File

@ -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;
}
}