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: a.hash > a.metadata.hash
thecodrrff9882bd045e
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.jsindex cd91a2080..520c36416 100644--- a/packages/core/collections/attachments.js+++ b/packages/core/collections/attachments.js@@ -119,7 +119,9 @@ export default class Attachments extends Collection {}attachment(hashOrId) {- return this.all.find((a) => a.id === hashOrId || a.hash === hashOrId);+ return this.all.find(+ (a) => a.id === hashOrId || a.metadata.hash === hashOrId+ );}markAsUploaded(id) {