show only file attachments

This commit is contained in:
ammarahm-ed
2021-10-31 10:49:05 +05:00
parent 6d6f1d16a6
commit 4fb236103c

View File

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