mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
show all attachments in attachment dialog
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, 'files');
|
||||
let _attachments = db.attachments.ofNote(item.id, "all");
|
||||
setAttachments(_attachments);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user