Skip to content

Commit 365d009

Browse files
authored
Merge pull request #170 from buggregator/issue/#162-fix-smtp-attachments
#162 fix smtp attachment link
2 parents f3c3036 + 69e7457 commit 365d009

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/screens/smtp/ui/smtp-page/smtp-page.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@ const date = computed(() =>
139139
</section>
140140
</Tab>
141141
<Tab name="Raw">
142-
<CodeSnippet class="tab-preview-code" language="html" :code="event.payload.raw" />
142+
<CodeSnippet
143+
class="tab-preview-code"
144+
language="html"
145+
:code="event.payload.raw"
146+
/>
143147
</Tab>
144148
<Tab name="Tech Info">
145149
<section>

src/shared/ui/file-attachment/file-attachment.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const props = defineProps<Props>();
1515
const size = computed(() => formatFileSize(props.attachment.size || 0));
1616
const downloadUrl = computed(
1717
() =>
18-
`${REST_API_URL}/api/smtp/${props.eventId}/attachments/${props.attachment.uuid}`
18+
`${REST_API_URL}/api/smtp/${props.eventId}/attachments/${props.attachment.id}`
1919
);
2020
</script>
2121

0 commit comments

Comments
 (0)