Fix/enable marketplace bug (#15895)

This commit is contained in:
Benjamin
2025-03-16 11:14:12 +08:00
committed by GitHub
parent f8f21ef7c0
commit 3a69a6a452
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

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

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' }]
: []
),

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' }]
: []
),