diff options
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index 09cda5d64..553b675bd 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -295,7 +295,7 @@ export default { classes += 'preview ' } - if (this.failed || this.previewType === PREVIEW_TYPE.MIME_ICON) { + if (this.failed || this.previewType === PREVIEW_TYPE.MIME_ICON || this.rowLayout) { classes += 'mimeicon' } return classes @@ -323,7 +323,7 @@ export default { if (this.previewType === PREVIEW_TYPE.TEMPORARY) { return this.localUrl } - if (this.previewType === PREVIEW_TYPE.MIME_ICON) { + if (this.previewType === PREVIEW_TYPE.MIME_ICON || this.rowLayout) { return OC.MimeType.getIconUrl(this.mimetype) } // whether to embed/render the file directly |