We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6afe49 + fb701d5 commit 3e8b41bCopy full SHA for 3e8b41b
packages/notion-utils/src/get-all-pages-in-space.ts
@@ -74,7 +74,7 @@ export async function getAllPagesInSpace(
74
Object.keys(page.block)
75
.filter((key) => {
76
const block = page.block[key]?.value
77
- if (!block) return false
+ if (!block || block.alive === false) return false
78
79
if (
80
block.type !== 'page' &&
0 commit comments