From 230c3ba24b49525ee140eadbe0384f5608d0cbc3 Mon Sep 17 00:00:00 2001 From: kimsible Date: Wed, 12 Aug 2020 13:39:25 +0200 Subject: [PATCH] Use this.user.account.id instead of recall authService.getUser() --- .../app/+videos/+video-watch/comment/video-comment.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts index 17e7e28ca..2d8b9eefe 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts +++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts @@ -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 ) }