A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: explicitly set note contentId
thecodrrec58b77bf069
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.jsindex 679fb3971..8cdba1651 100644--- a/packages/core/collections/notes.js+++ b/packages/core/collections/notes.js@@ -53,6 +53,8 @@ export default class Notes extends Collection {...noteArg,};+ if (oldNote) note.contentId = oldNote.contentId;+if (!oldNote && !noteArg.content && !noteArg.contentId) return;if (noteArg.content && noteArg.content.data && noteArg.content.type) {