diff options
Diffstat (limited to 'src/components/MessageAttachment.vue')
-rw-r--r-- | src/components/MessageAttachment.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/MessageAttachment.vue b/src/components/MessageAttachment.vue index b09206a3c..b02db939e 100644 --- a/src/components/MessageAttachment.vue +++ b/src/components/MessageAttachment.vue @@ -20,14 +20,14 @@ --> <template> - <div class="attachment" :class="{'message-attachment--can-preview': canPreview }" @click="$emit('click', $event)"> - <div class="mail-attachment-img--wrapper"> + <div class="attachment" :class="{'message-attachment--can-preview': canPreview }"> + <div class="mail-attachment-img--wrapper" @click="$emit('open', $event)"> <img v-if="isImage" class="mail-attached-image" :src="url"> <img v-else class="attachment-icon" :src="mimeUrl"> </div> - <div class="mail-attached--content"> + <div class="mail-attached--content" @click="$emit('open', $event)"> <span class="attachment-name" :title="label">{{ name }} </span> |