Hide unknown type attachments, polish the upload preview styling

This commit is contained in:
shpuld 2017-11-20 13:27:45 +02:00
parent 092848b32b
commit 280758f867
3 changed files with 4 additions and 2 deletions

View file

@ -24,7 +24,7 @@ const Attachment = {
return this.nsfw && this.hideNsfwLocal && !this.showHidden
},
isEmpty () {
return this.type === 'html' && !this.attachment.oembed
return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'
}
},
methods: {