From 230c3ba24b49525ee140eadbe0384f5608d0cbc3 Mon Sep 17 00:00:00 2001 From: kimsible Date: Wed, 12 Aug 2020 13:39:25 +0200 Subject: Use this.user.account.id instead of recall authService.getUser() --- client/src/app/+videos/+video-watch/comment/video-comment.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src') 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 ) } -- cgit v1.2.3