Quellcode durchsuchen

fix: filter empty marketplace collection (#18511)

tags/1.3.0
zxhlyh vor 6 Monaten
Ursprung
Commit
d43b884c2a
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden

+ 3
- 1
web/app/components/plugins/marketplace/list/list-with-collection.tsx Datei anzeigen

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

Laden…
Abbrechen
Speichern