Browse Source

Fix/enable marketplace bug (#15895)

tags/1.1.0
Benjamin 7 months ago
parent
commit
3a69a6a452
No account linked to committer's email address

+ 3
- 0
.gitignore View File

@@ -202,3 +202,6 @@ api/.vscode

# plugin migrate
plugins.jsonl

# mise
mise.toml

+ 1
- 1
web/app/components/plugins/plugin-page/empty/index.tsx View File

@@ -71,7 +71,7 @@ const Empty = () => {
<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' }]
: []
),

+ 1
- 1
web/app/components/plugins/plugin-page/install-plugin-dropdown.tsx View File

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

Loading…
Cancel
Save