Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: tags does not exist (#3020)

372072fa2da2d319
diff --git a/apps/web/src/components/blocksuite/block-suite-page-list/index.tsx b/apps/web/src/components/blocksuite/block-suite-page-list/index.tsx
index 3568641266..8ac34fdd45 100644
--- a/apps/web/src/components/blocksuite/block-suite-page-list/index.tsx
+++ b/apps/web/src/components/blocksuite/block-suite-page-list/index.tsx
@@ -194,7 +194,7 @@ export const BlockSuitePageList: React.FC<BlockSuitePageListProps> = ({
title: pageMeta.title,
preview,
tags:
- page?.meta.tags.map(id => tagOptionMap[id]).filter(v => v != null) ??
+ page?.meta.tags?.map(id => tagOptionMap[id]).filter(v => v != null) ??
[],
favorite: !!pageMeta.favorite,
isPublicPage: !!pageMeta.isPublic,