diff --git a/src/modules/timesheets/components/expense-dialog-attachment-viewer.vue b/src/modules/timesheets/components/expense-dialog-attachment-viewer.vue new file mode 100644 index 0000000..db7d2f1 --- /dev/null +++ b/src/modules/timesheets/components/expense-dialog-attachment-viewer.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/src/modules/timesheets/components/expense-dialog-list-item.vue b/src/modules/timesheets/components/expense-dialog-list-item.vue index 0d74415..ba87962 100644 --- a/src/modules/timesheets/components/expense-dialog-list-item.vue +++ b/src/modules/timesheets/components/expense-dialog-list-item.vue @@ -67,6 +67,12 @@ }); } } + + const onClickAttachment = async () => { + expenses_store.isShowingAttachmentDialog = true; + await expenses_store.getAttachmentURL(expense.value.attachment_key); + console.log('image url: ', expenses_store.attachmentURL); + }