small fixes

This commit is contained in:
shpuld 2018-04-09 19:43:31 +03:00
parent 936ca1a38c
commit f4f9b3fa26
9 changed files with 642 additions and 445 deletions

View file

@ -6,7 +6,8 @@ const Attachment = {
props: [
'attachment',
'nsfw',
'statusId'
'statusId',
'size'
],
data () {
return {
@ -29,6 +30,9 @@ const Attachment = {
},
isEmpty () {
return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'
},
isSmall () {
return this.size === 'small'
}
},
methods: {