Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

show all attachments in attachment dialog

ammarahm-edd926fb487a20
diff --git a/apps/mobile/src/components/AttachmentDialog/index.js b/apps/mobile/src/components/AttachmentDialog/index.js
index 0091d6ad6..77047c0b7 100644
--- a/apps/mobile/src/components/AttachmentDialog/index.js
+++ b/apps/mobile/src/components/AttachmentDialog/index.js
@@ -50,7 +50,7 @@ export const AttachmentDialog = () => {
const open = item => {
setNote(item);
setVisible(true);
- let _attachments = db.attachments.ofNote(item.id, 'files');
+ let _attachments = db.attachments.ofNote(item.id, "all");
setAttachments(_attachments);
};