Skip to content

Commit

Permalink
#162 fix smtp attachment link
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag authored and Kreezag committed Jun 13, 2024
1 parent 1036758 commit 69e7457
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/screens/smtp/ui/smtp-page/smtp-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ const date = computed(() =>
</section>
</Tab>
<Tab name="Raw">
<CodeSnippet class="tab-preview-code" language="html" :code="event.payload.raw" />
<CodeSnippet
class="tab-preview-code"
language="html"
:code="event.payload.raw"
/>
</Tab>
<Tab name="Tech Info">
<section>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/file-attachment/file-attachment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const props = defineProps<Props>();
const size = computed(() => formatFileSize(props.attachment.size || 0));
const downloadUrl = computed(
() =>
`${REST_API_URL}/api/smtp/${props.eventId}/attachments/${props.attachment.uuid}`
`${REST_API_URL}/api/smtp/${props.eventId}/attachments/${props.attachment.id}`
);
</script>

Expand Down

0 comments on commit 69e7457

Please sign in to comment.