浏览代码

fix: tools translate search (#12950)

Co-authored-by: lowell <lowell.hu@zkteco.in>
tags/0.15.3
Jhvcc 9 个月前
父节点
当前提交
fd4afe09f8
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/tools/provider-list.tsx

+ 1
- 1
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])

正在加载...
取消
保存