Skip to content

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

fix: local only note's content is getting synced

thecodrr1f048e804932
diff --git a/packages/core/collections/content.js b/packages/core/collections/content.js
index 875cdf645..6ada294d0 100644
--- a/packages/core/collections/content.js
+++ b/packages/core/collections/content.js
@@ -26,6 +26,7 @@ export default class Content extends Collection {
dateEdited: content.dateEdited,
dateCreated: content.dateCreated,
remote: content.remote,
+ localOnly: !!content.localOnly,
});
return id;
}
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.js
index 8cdba1651..3bdd349bc 100644
--- a/packages/core/collections/notes.js
+++ b/packages/core/collections/notes.js
@@ -80,6 +80,7 @@ export default class Notes extends Collection {
data,
conflicted,
resolved,
+ localOnly: !!note.localOnly,
});
}