forked from AkkomaGang/akkoma-fe
removed brackets from condition
This commit is contained in:
parent
de5d846ebd
commit
6d3bd95bfe
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue