From 97e469e3ecd09b996a1b2f7e310d42850110398b Mon Sep 17 00:00:00 2001 From: lowell Date: Wed, 22 Jan 2025 17:00:06 +0800 Subject: [PATCH] fix: tools translation search --- web/app/components/tools/provider-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/tools/provider-list.tsx b/web/app/components/tools/provider-list.tsx index 6f17835589be0e..73c73636419fa6 100644 --- a/web/app/components/tools/provider-list.tsx +++ b/web/app/components/tools/provider-list.tsx @@ -46,7 +46,7 @@ const ProviderList = () => { if (tagFilterValue.length > 0 && (!collection.labels || collection.labels.every(label => !tagFilterValue.includes(label)))) return false if (keywords) - return collection.name.toLowerCase().includes(keywords.toLowerCase()) + return Object.values(collection.label).some(value => value.toLowerCase().includes(keywords.toLowerCase())) return true }) }, [activeTab, tagFilterValue, keywords, collectionList])