aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-08-12 13:39:25 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-14 15:03:38 +0200
commit230c3ba24b49525ee140eadbe0384f5608d0cbc3 (patch)
tree382e8383b7d3598f9a9437ff4dae5efe62c45609 /client/src/app/+videos
parentc537763a2352a8b41611d784e31d7c36fef53019 (diff)
downloadPeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.tar.gz
PeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.tar.zst
PeerTube-230c3ba24b49525ee140eadbe0384f5608d0cbc3.zip
Use this.user.account.id instead of recall authService.getUser()
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comment.component.ts2
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