This commit is contained in:
Henry Jameson 2018-08-30 16:02:53 +03:00
parent b0e0686c7f
commit e58221fb87
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ const Attachment = {
loopVideo: this.$store.state.config.loopVideo,
showHidden: false,
loading: false,
img: this.type === 'image' && document.createElement('img')
img: fileTypeService.fileType(this.attachment.mimetype) === 'image' && document.createElement('img')
}
},
components: {