修复隐藏文章显示问题

This commit is contained in:
tangly
2022-10-20 13:01:32 +08:00
parent 9ddad487ec
commit cd233f5060
9 changed files with 9 additions and 9 deletions

View File

@@ -257,7 +257,7 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
let postCount = 0
const allPages = collectionData.filter(post => {
if (post.type === 'Post' && (post.status === 'Published' || post.status === 'Invisible')) {
if (post.type === 'Post' && post.status === 'Published') {
postCount++
}