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
core: fix cannot read properties of undefined (reading '_note')
Abdullah Atta1f61742786d3
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.jsindex be50400e5..7b01ee078 100644--- a/packages/core/collections/attachments.js+++ b/packages/core/collections/attachments.js@@ -196,7 +196,7 @@ export default class Attachments extends Collection {async _canDetach(attachment) {await this._db.notes.init();for (let noteId of attachment.noteIds) {- const note = this._db.notes.note(noteId)._note;+ const note = this._db.notes.note(noteId).data;if (note.locked) return false;}