Use this.user.account.id instead of recall authService.getUser()

pull/3085/head
kimsible 2020-08-12 13:39:25 +02:00 committed by Chocobozzz
parent c537763a23
commit 230c3ba24b
1 changed files with 1 additions and 1 deletions

View File

@ -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
)
}