fix: save opened note id in local storage

This commit is contained in:
thecodrr
2020-04-21 11:46:22 +05:00
parent 848def4104
commit 8a9e83fc6b

View File

@@ -71,6 +71,9 @@ class EditorStore extends BaseStore {
};
});
noteStore.setSelectedNote(note.id);
if (note.locked) return;
saveLastOpenedNote(note.id);
};
saveSession = (oldSession) => {