From 4dd144ce43dcd6dbcd68e934fa8db9ddd80d7865 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Tue, 15 Oct 2024 10:41:10 +0800 Subject: [PATCH] tools list --- .../plugins/marketplace/search-box/tags-filter.tsx | 2 +- web/app/components/tools/provider-list.tsx | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/web/app/components/plugins/marketplace/search-box/tags-filter.tsx b/web/app/components/plugins/marketplace/search-box/tags-filter.tsx index 83c1ba2872..323c4be1ab 100644 --- a/web/app/components/plugins/marketplace/search-box/tags-filter.tsx +++ b/web/app/components/plugins/marketplace/search-box/tags-filter.tsx @@ -95,7 +95,7 @@ const TagsFilter = ({ } - +
{ const { t } = useTranslation() + const language = useGetLanguage() const [activeTab, setActiveTab] = useTabSearchParams({ defaultTab: 'builtin', @@ -94,11 +96,13 @@ const ProviderList = () => { {activeTab === 'builtin' && } {activeTab === 'api' && } {filteredCollectionList.map(collection => ( - setCurrentProvider(collection)} + ))} {!filteredCollectionList.length &&
}