removed brackets from condition
This commit is contained in:
parent
de5d846ebd
commit
6d3bd95bfe
@ -28,7 +28,7 @@ const Attachment = {
|
|||||||
return fileTypeService.fileType(this.attachment.mimetype)
|
return fileTypeService.fileType(this.attachment.mimetype)
|
||||||
},
|
},
|
||||||
hidden () {
|
hidden () {
|
||||||
return (this.nsfw && this.hideNsfwLocal && !this.showHidden)
|
return this.nsfw && this.hideNsfwLocal && !this.showHidden
|
||||||
},
|
},
|
||||||
isEmpty () {
|
isEmpty () {
|
||||||
return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'
|
return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'
|
||||||
|
Loading…
Reference in New Issue
Block a user