- return this.comment.account && this.isUserLoggedIn() && this.user.account.id === this.comment.account.id && this.comment.totalReplies === 0
- }
-
- isReportableByUser() {
- return this.comment.account && this.isUserLoggedIn() && this.comment.isDeleted === false && this.authService.getUser().account.id !== this.comment.account.id
+ return (
+ this.comment.account &&
+ this.isUserLoggedIn() &&
+ this.user.account.id === this.comment.account.id &&
+ this.comment.totalReplies === 0
+ )
+ }
+
+ isReportableByUser () {
+ return (
+ this.comment.account &&
+ this.isUserLoggedIn() &&
+ this.comment.isDeleted === false &&
+ this.authService.getUser().account.id !== this.comment.account.id
+ )