fix: page title not displaying (#4513)

This commit is contained in:
Aaryan Khandelwal 2024-05-19 21:40:50 +05:30 committed by GitHub
parent 87610399c4
commit 915ea8a81c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ export class PageStore implements IPageStore {
page: TPage page: TPage
) { ) {
this.id = page?.id || undefined; this.id = page?.id || undefined;
this.name = page?.name?.trim() === "" ? "" : undefined; this.name = page?.name;
this.description_html = page?.description_html || undefined; this.description_html = page?.description_html || undefined;
this.color = page?.color || undefined; this.color = page?.color || undefined;
this.labels = page?.labels || undefined; this.labels = page?.labels || undefined;