show all attachments in attachment dialog

This commit is contained in:
ammarahm-ed
2021-10-28 11:32:38 +05:00
parent 6eaac23e8d
commit d926fb487a

View File

@@ -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);
};