Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix title of locked note not saving

Abdullah Atta533bef014d27
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<EditorStore> {
? currentSession.sessionId
: `${Date.now()}`;
- if (isLockedSession(currentSession)) {
+ if (isLockedSession(currentSession) && partial.content) {
await db.vault.save({
content: partial.content,
sessionId,