Get correct mimetype through entity_normalizer
This commit is contained in:
parent
966add1b29
commit
909c315a44
2 changed files with 3 additions and 4 deletions
|
@ -292,7 +292,7 @@ const PostStatusForm = {
|
|||
this.submitDisabled = false
|
||||
},
|
||||
type (fileInfo) {
|
||||
return fileTypeService.fileType(fileInfo.pleroma.mime_type)
|
||||
return fileTypeService.fileType(fileInfo.mimetype)
|
||||
},
|
||||
paste (e) {
|
||||
if (e.clipboardData.files.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue