수정: 프로필 아바타 자산 필터 누락 보정
This commit is contained in:
@@ -1795,7 +1795,11 @@ async function listCustomItems({ queryText = '', page = 1, limit = 50, filterMod
|
||||
const templateSrcSet = new Set(topicItemRows.map((row) => row.src).filter(Boolean))
|
||||
const customSrcSet = new Set(customRows.map((row) => row.src).filter(Boolean))
|
||||
const assetLibraryItems = assetRows
|
||||
.filter((row) => row?.src && !templateSrcSet.has(row.src) && !customSrcSet.has(row.src))
|
||||
.filter((row) => {
|
||||
if (!row?.src) return false
|
||||
if (avatarSrcSet.has(row.src) || thumbnailSrcSet.has(row.src)) return true
|
||||
return !templateSrcSet.has(row.src) && !customSrcSet.has(row.src)
|
||||
})
|
||||
.map((row) => ({
|
||||
id: `asset:${row.id}`,
|
||||
assetId: row.id,
|
||||
|
||||
Reference in New Issue
Block a user