Media Modal: Fix mimetype.

This commit is contained in:
lain 2020-06-30 14:06:23 +02:00
parent fe30bd6d04
commit c1b28879f9

View file

@ -27,7 +27,7 @@ const MediaModal = {
return this.media.length > 1
},
type () {
return this.currentMedia ? fileTypeService.fileType(this.currentMedia.mimetype) : null
return this.currentMedia ? fileTypeService.fileType(this.currentMedia.pleroma.mime_type) : null
}
},
created () {