fix: filter empty marketplace collection (#18511)

pull/18515/head
zxhlyh 10 months ago committed by GitHub
parent 80f5ee1eb2
commit d43b884c2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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'

Loading…
Cancel
Save