mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
show only file attachments
This commit is contained in:
@@ -50,7 +50,7 @@ export const AttachmentDialog = () => {
|
|||||||
const open = item => {
|
const open = item => {
|
||||||
setNote(item);
|
setNote(item);
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
let _attachments = db.attachments.ofNote(item.id, "all");
|
let _attachments = db.attachments.ofNote(item.id, "files");
|
||||||
setAttachments(_attachments);
|
setAttachments(_attachments);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user