From 533bef014d27c76e080bed968b882bf979e877af Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Thu, 14 Mar 2024 12:42:48 +0500 Subject: [PATCH] web: fix title of locked note not saving --- apps/web/src/stores/editor-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.ts index 60721cda5..f3cf99206 100644 --- a/apps/web/src/stores/editor-store.ts +++ b/apps/web/src/stores/editor-store.ts @@ -667,7 +667,7 @@ class EditorStore extends BaseStore { ? currentSession.sessionId : `${Date.now()}`; - if (isLockedSession(currentSession)) { + if (isLockedSession(currentSession) && partial.content) { await db.vault.save({ content: partial.content, sessionId,