diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-08-12 13:39:25 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-14 15:03:38 +0200 |
commit | 230c3ba24b49525ee140eadbe0384f5608d0cbc3 (patch) | |
tree | 382e8383b7d3598f9a9437ff4dae5efe62c45609 /client | |
parent | c537763a2352a8b41611d784e31d7c36fef53019 (diff) | |
download | PeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.tar.gz PeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.tar.zst PeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.zip |
Use this.user.account.id instead of recall authService.getUser()
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+videos/+video-watch/comment/video-comment.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
125 | this.comment.account && | 125 | this.comment.account && |
126 | this.isUserLoggedIn() && | 126 | this.isUserLoggedIn() && |
127 | this.comment.isDeleted === false && | 127 | this.comment.isDeleted === false && |
128 | this.authService.getUser().account.id !== this.comment.account.id | 128 | this.user.account.id !== this.comment.account.id |
129 | ) | 129 | ) |
130 | } | 130 | } |
131 | 131 | ||