From 3a69a6a452d8121d491212344c7136256f6d95ca Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 16 Mar 2025 11:14:12 +0800 Subject: [PATCH] Fix/enable marketplace bug (#15895) --- .gitignore | 3 +++ web/app/components/plugins/plugin-page/empty/index.tsx | 2 +- .../components/plugins/plugin-page/install-plugin-dropdown.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9195d741f8..7c5f4851c9 100644 --- a/.gitignore +++ b/.gitignore @@ -202,3 +202,6 @@ api/.vscode # plugin migrate plugins.jsonl + +# mise +mise.toml diff --git a/web/app/components/plugins/plugin-page/empty/index.tsx b/web/app/components/plugins/plugin-page/empty/index.tsx index 3263f6a0c3..e66d476fec 100644 --- a/web/app/components/plugins/plugin-page/empty/index.tsx +++ b/web/app/components/plugins/plugin-page/empty/index.tsx @@ -71,7 +71,7 @@ const Empty = () => {
{[ ...( - (enable_marketplace || true) + (enable_marketplace && true) ? [{ icon: MagicBox, text: t('plugin.list.source.marketplace'), action: 'marketplace' }] : [] ), diff --git a/web/app/components/plugins/plugin-page/install-plugin-dropdown.tsx b/web/app/components/plugins/plugin-page/install-plugin-dropdown.tsx index 4c2d543e14..fde64e7227 100644 --- a/web/app/components/plugins/plugin-page/install-plugin-dropdown.tsx +++ b/web/app/components/plugins/plugin-page/install-plugin-dropdown.tsx @@ -85,7 +85,7 @@ const InstallPluginDropdown = ({
{[ ...( - (enable_marketplace || true) + (enable_marketplace && true) ? [{ icon: MagicBox, text: t('plugin.source.marketplace'), action: 'marketplace' }] : [] ),