Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix/enable marketplace bug (#15895)

Benjamin3a69a6a452d8
diff --git a/.gitignore b/.gitignore
index 9195d741f8b..7c5f4851c9e 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 3263f6a0c36..e66d476fec7 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 = () => {
<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' }]
: []
),
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 4c2d543e14d..fde64e72276 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 = ({
<div className='w-full'>
{[
...(
- (enable_marketplace || true)
+ (enable_marketplace && true)
? [{ icon: MagicBox, text: t('plugin.source.marketplace'), action: 'marketplace' }]
: []
),