mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: fix title of locked note not saving
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user