浏览代码

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'

正在加载...
取消
保存