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: allow uploading attachments that are in 0 notes
Abdullah Atta43bc95498925
diff --git a/packages/core/src/collections/attachments.js b/packages/core/src/collections/attachments.jsindex ee82418f0..599d093e9 100644--- a/packages/core/src/collections/attachments.js+++ b/packages/core/src/collections/attachments.js@@ -372,9 +372,7 @@ export default class Attachments extends Collection {get pending() {return this.all.filter(- (attachment) =>- (attachment.dateUploaded <= 0 || !attachment.dateUploaded) &&- attachment.noteIds.length > 0+ (attachment) => attachment.dateUploaded <= 0 || !attachment.dateUploaded);}