mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 07:26:45 +00:00
post-list-fix
This commit is contained in:
@@ -227,7 +227,7 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
|
|||||||
}
|
}
|
||||||
return post && post?.slug &&
|
return post && post?.slug &&
|
||||||
(!post?.slug?.startsWith('http')) &&
|
(!post?.slug?.startsWith('http')) &&
|
||||||
(post?.status === BLOG.NOTION_PROPERTY_NAME.status_publish || post?.status === BLOG.NOTION_PROPERTY_NAME.status_invisible)
|
(post?.status === 'Invisible' || post?.status === 'Published')
|
||||||
})
|
})
|
||||||
|
|
||||||
// Sort by date
|
// Sort by date
|
||||||
|
|||||||
Reference in New Issue
Block a user