Fix/enable marketplace bug (#15895)

pull/14262/head
Benjamin 1 year ago committed by Bharat Ramanathan
parent 03f425b569
commit 6ae0598250

3
.gitignore vendored

@ -202,3 +202,6 @@ api/.vscode
# plugin migrate # plugin migrate
plugins.jsonl plugins.jsonl
# mise
mise.toml

@ -71,7 +71,7 @@ const Empty = () => {
<div className='w-full flex flex-col gap-y-1'> <div className='w-full flex flex-col gap-y-1'>
{[ {[
...( ...(
(enable_marketplace || true) (enable_marketplace && true)
? [{ icon: MagicBox, text: t('plugin.list.source.marketplace'), action: 'marketplace' }] ? [{ icon: MagicBox, text: t('plugin.list.source.marketplace'), action: 'marketplace' }]
: [] : []
), ),

@ -85,7 +85,7 @@ const InstallPluginDropdown = ({
<div className='w-full'> <div className='w-full'>
{[ {[
...( ...(
(enable_marketplace || true) (enable_marketplace && true)
? [{ icon: MagicBox, text: t('plugin.source.marketplace'), action: 'marketplace' }] ? [{ icon: MagicBox, text: t('plugin.source.marketplace'), action: 'marketplace' }]
: [] : []
), ),

Loading…
Cancel
Save