Skip to content

Commit

Permalink
fix: tools translate search (#12950)
Browse files Browse the repository at this point in the history
Co-authored-by: lowell <[email protected]>
  • Loading branch information
Jhvcc and lowell authored Jan 22, 2025
1 parent dd0904f commit fd4afe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/tools/provider-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit fd4afe0

Please sign in to comment.