Bläddra i källkod

fix: filter empty marketplace collection (#18511)

tags/1.3.0
zxhlyh 6 månader sedan
förälder
incheckning
d43b884c2a
Inget konto är kopplat till bidragsgivarens mejladress

+ 3
- 1
web/app/components/plugins/marketplace/list/list-with-collection.tsx Visa fil

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'

Laddar…
Avbryt
Spara