mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
bugfix: 兼容table视图
This commit is contained in:
@@ -15,7 +15,8 @@ export default function getAllPageIds (collectionQuery, viewId) {
|
||||
} else {
|
||||
const pageSet = new Set()
|
||||
Object.values(views).forEach(view => {
|
||||
view?.blockIds?.forEach(id => pageSet.add(id))
|
||||
view?.blockIds?.forEach(id => pageSet.add(id)) // group视图
|
||||
view?.collection_group_results?.blockIds?.forEach(id => pageSet.add(id)) // table视图
|
||||
})
|
||||
pageIds = [...pageSet]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user