feat: Use audio tag instead of download file button (#1749)
This commit is contained in:
parent
d92a6a3078
commit
9315cb81e8
2 changed files with 6 additions and 1 deletions
|
@ -21,8 +21,11 @@
|
|||
:url="attachment.data_url"
|
||||
:readable-time="readableTime"
|
||||
/>
|
||||
<audio v-else-if="attachment.file_type === 'audio'" controls>
|
||||
<source :src="attachment.data_url" />
|
||||
</audio>
|
||||
<bubble-file
|
||||
v-if="attachment.file_type !== 'image'"
|
||||
v-else
|
||||
:url="attachment.data_url"
|
||||
:readable-time="readableTime"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue