From 280758f8674be4f9a23223ffa47b5805380bfa4f Mon Sep 17 00:00:00 2001 From: shpuld Date: Mon, 20 Nov 2017 13:27:45 +0200 Subject: Hide unknown type attachments, polish the upload preview styling --- src/components/attachment/attachment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/attachment/attachment.js') diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index de551611..8a2a3826 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -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: { -- cgit v1.2.3-70-g09d2