From 4fb236103cedeb35c78f1058836b18add31fc011 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sun, 31 Oct 2021 10:49:05 +0500 Subject: [PATCH] show only file attachments --- 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 77047c0b7..249361b2a 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, "all"); + let _attachments = db.attachments.ofNote(item.id, "files"); setAttachments(_attachments); };