Skip to content

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

fix: update sessions's date edited on save (fixes streetwriters/notesnook#541)

thecodrr3a3bf2adf222
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.js
index 14a5c266e..a962c21a3 100644
--- a/apps/web/src/stores/editor-store.js
+++ b/apps/web/src/stores/editor-store.js
@@ -185,6 +185,7 @@ class EditorStore extends BaseStore {
state.session.context = null;
state.session.id = note.id;
state.session.saveState = 1;
+ state.session.dateEdited = note.dateEdited;
state.session.attachmentsLength = attachments.length;
});