From d926fb487a2064abfbfa342c65ebeaebbceb2ae7 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 28 Oct 2021 11:32:38 +0500 Subject: [PATCH] show all attachments in attachment dialog --- apps/mobile/src/components/AttachmentDialog/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };