fix: enable_marketplace
This commit is contained in:
parent
9a9d90ad7f
commit
0ef35a0ee0
@ -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' })
|
||||
}} />
|
||||
|
Loading…
Reference in New Issue
Block a user