From 915ea8a81c1fa305c912cb3faf7be533ddce4f4a Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Sun, 19 May 2024 21:40:50 +0530 Subject: [PATCH] fix: page title not displaying (#4513) --- web/store/pages/page.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/store/pages/page.store.ts b/web/store/pages/page.store.ts index 2f9b75d2a..e7ceda2a2 100644 --- a/web/store/pages/page.store.ts +++ b/web/store/pages/page.store.ts @@ -76,7 +76,7 @@ export class PageStore implements IPageStore { page: TPage ) { this.id = page?.id || undefined; - this.name = page?.name?.trim() === "" ? "" : undefined; + this.name = page?.name; this.description_html = page?.description_html || undefined; this.color = page?.color || undefined; this.labels = page?.labels || undefined;