change placeholders to use descriptions, use icons with placeholders, change uploads to use attachment component
This commit is contained in:
parent
03aa1f3154
commit
96d2c86d3b
8 changed files with 75 additions and 63 deletions
|
@ -22,7 +22,7 @@ const mediaViewer = {
|
|||
setMedia ({ commit }, attachments) {
|
||||
const media = attachments.filter(attachment => {
|
||||
const type = fileTypeService.fileType(attachment.mimetype)
|
||||
return type === 'image' || type === 'video'
|
||||
return type === 'image' || type === 'video' || type === 'audio'
|
||||
})
|
||||
commit('setMedia', media)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue