Hide unknown type attachments, polish the upload preview styling
This commit is contained in:
parent
092848b32b
commit
280758f867
3 changed files with 4 additions and 2 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue