removed brackets from condition

This commit is contained in:
ValD 2018-12-12 15:07:07 +00:00
parent de5d846ebd
commit 6d3bd95bfe

View file

@ -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'