Media Modal: Fix mimetype.

This commit is contained in:
lain 2020-06-30 14:06:23 +02:00
parent fe30bd6d04
commit c1b28879f9
1 changed files with 1 additions and 1 deletions

View File

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