Use this.user.account.id instead of recall authService.getUser()
This commit is contained in:
parent
c537763a23
commit
230c3ba24b
|
@ -125,7 +125,7 @@ export class VideoCommentComponent implements OnInit, OnChanges {
|
|||
this.comment.account &&
|
||||
this.isUserLoggedIn() &&
|
||||
this.comment.isDeleted === false &&
|
||||
this.authService.getUser().account.id !== this.comment.account.id
|
||||
this.user.account.id !== this.comment.account.id
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue