@ -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 && (
@ -118,7 +118,7 @@ const ProviderList = () => {
{!filteredCollectionList.length && <div className='absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2'><Empty /></div>}
</div>
!enable_marketplace && (
enable_marketplace && (
<Marketplace onMarketplaceScroll={() => {
containerRef.current?.scrollTo({ top: containerRef.current.scrollHeight, behavior: 'smooth' })
}} />