mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
show only file attachments
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user