mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: tags does not exist (#3020)
(cherry picked from commit 72fa2da2d3)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user