mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-17 11:05:56 +08:00
fix: filter empty marketplace collection (#18511)
This commit is contained in:
parent
80f5ee1eb2
commit
d43b884c2a
@ -32,7 +32,9 @@ const ListWithCollection = ({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
marketplaceCollections.map(collection => (
|
marketplaceCollections.filter((collection) => {
|
||||||
|
return marketplaceCollectionPluginsMap[collection.name]?.length
|
||||||
|
}).map(collection => (
|
||||||
<div
|
<div
|
||||||
key={collection.name}
|
key={collection.name}
|
||||||
className='py-3'
|
className='py-3'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user