mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
core: allow uploading attachments that are in 0 notes
This commit is contained in:
committed by
Abdullah Atta
parent
c88bc722e1
commit
43bc954989
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user