fix: filter empty marketplace collection (#18511)

This commit is contained in:
zxhlyh authored and GitHub committed 2025-04-22 10:13:22 +08:00
1 parent 80f5ee1eb2
commit d43b884c2a
1 file changed
+3 -1
@@ -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'