Parcourir la source

fix: filter empty marketplace collection (#18511)

tags/1.3.0
zxhlyh il y a 6 mois
Parent
révision
d43b884c2a
Aucun compte lié à l'adresse e-mail de l'auteur

+ 3
- 1
web/app/components/plugins/marketplace/list/list-with-collection.tsx Voir le fichier

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

Chargement…
Annuler
Enregistrer