diff --git a/web/app/components/plugins/plugin-page/index.tsx b/web/app/components/plugins/plugin-page/index.tsx index 9d432df664..7335dfbb16 100644 --- a/web/app/components/plugins/plugin-page/index.tsx +++ b/web/app/components/plugins/plugin-page/index.tsx @@ -100,7 +100,7 @@ const PluginPage = ({ return [ { value: 'plugins', text: t('common.menus.plugins') }, ...( - !enable_marketplace + enable_marketplace ? [{ value: 'discover', text: 'Explore Marketplace' }] : [] ), @@ -214,7 +214,7 @@ const PluginPage = ({ )} { - activeTab === 'discover' && !enable_marketplace && marketplace + activeTab === 'discover' && enable_marketplace && marketplace } {showPluginSettingModal && ( diff --git a/web/app/components/tools/provider-list.tsx b/web/app/components/tools/provider-list.tsx index 3f2593020e..7a8ceff0db 100644 --- a/web/app/components/tools/provider-list.tsx +++ b/web/app/components/tools/provider-list.tsx @@ -118,7 +118,7 @@ const ProviderList = () => { {!filteredCollectionList.length &&
} { - !enable_marketplace && ( + enable_marketplace && ( { containerRef.current?.scrollTo({ top: containerRef.current.scrollHeight, behavior: 'smooth' }) }} />