fix conflicts, use file icon instead of link, add support for audio and file icon in cw'd posts
This commit is contained in:
commit
87b5f828d7
40 changed files with 455 additions and 63 deletions
|
@ -42,7 +42,7 @@ const Attachment = {
|
|||
if (this.type === 'image') return 'icon-picture'
|
||||
if (this.type === 'video') return 'icon-video'
|
||||
if (this.type === 'audio') return 'icon-music'
|
||||
return 'icon-link'
|
||||
return 'icon-doc'
|
||||
},
|
||||
referrerpolicy () {
|
||||
return this.$store.state.instance.mediaProxyAvailable ? '' : 'no-referrer'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue