瀏覽代碼

fix: filter empty marketplace collection (#18511)

tags/1.3.0
zxhlyh 6 月之前
父節點
當前提交
d43b884c2a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      web/app/components/plugins/marketplace/list/list-with-collection.tsx

+ 3
- 1
web/app/components/plugins/marketplace/list/list-with-collection.tsx 查看文件

@@ -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…
取消
儲存