Skip to content

Commit cf2f9bb

Browse files
authored
fix(attachments): fix Attachments broken image (#94)
1 parent 3960c80 commit cf2f9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attachments/FileList/FileListCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const content = computed(() => {
185185
// Preview Image style
186186
return (
187187
<>
188-
<img alt="preview" src={previewUrl.value} />
188+
{previewUrl.value && <img alt="preview" src={previewUrl.value} />}
189189
190190
{status.value !== 'done' && (
191191
<div class={`${cardCls}-img-mask`}>

0 commit comments

Comments
 (0)