Media Modal: Fix mimetype.
This commit is contained in:
parent
fe30bd6d04
commit
c1b28879f9
1 changed files with 1 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue