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: filter empty marketplace collection (#18511)

zxhlyhd43b884c2ae6
diff --git a/web/app/components/plugins/marketplace/list/list-with-collection.tsx b/web/app/components/plugins/marketplace/list/list-with-collection.tsx
index e18356cd852..4c396c565fa 100644
--- a/web/app/components/plugins/marketplace/list/list-with-collection.tsx
+++ b/web/app/components/plugins/marketplace/list/list-with-collection.tsx
@@ -32,7 +32,9 @@ const ListWithCollection = ({
return (
<>
{
- marketplaceCollections.map(collection => (
+ marketplaceCollections.filter((collection) => {
+ return marketplaceCollectionPluginsMap[collection.name]?.length
+ }).map(collection => (
<div
key={collection.name}
className='py-3'