diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.ts index 01b1e9c16..b431692cd 100644 --- a/apps/web/src/stores/editor-store.ts +++ b/apps/web/src/stores/editor-store.ts @@ -329,8 +329,8 @@ class EditorStore extends BaseStore { if ( // when a note is locked or unlocked - (session.type === "locked") !== - !!event.item.locked + (session.type === "locked") !== !!event.item.locked && + (session.type !== "default" || !session.locked) ) { openSession(session.id, { force: true, silent: true }); }