소스 검색

fix: tools translate search (#12950)

Co-authored-by: lowell <lowell.hu@zkteco.in>
tags/0.15.3
Jhvcc 9 달 전
부모
커밋
fd4afe09f8
No account linked to committer's email address
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])

Loading…
취소
저장