From 6d3bd95bfeac38a9a1246e30cede3788e8f1e137 Mon Sep 17 00:00:00 2001 From: ValD Date: Wed, 12 Dec 2018 15:07:07 +0000 Subject: [PATCH] removed brackets from condition --- src/components/attachment/attachment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index fd9a2057..574439e0 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -28,7 +28,7 @@ const Attachment = { return fileTypeService.fileType(this.attachment.mimetype) }, hidden () { - return (this.nsfw && this.hideNsfwLocal && !this.showHidden) + return this.nsfw && this.hideNsfwLocal && !this.showHidden }, isEmpty () { return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'