aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-06 16:13:18 +0100
committerChocobozzz <me@florianbigard.com>2020-01-06 16:13:26 +0100
commit218b0874ede2f0d35fdbcfb64dbe19083b0a2b04 (patch)
tree1ef2e68f11d707c4253d49df43142bee7d499aed /client/src/app/videos/+video-watch/comment/video-comment.component.ts
parentbc6f886347f676220847461600122cde86edc272 (diff)
downloadPeerTube-218b0874ede2f0d35fdbcfb64dbe19083b0a2b04.tar.gz
PeerTube-218b0874ede2f0d35fdbcfb64dbe19083b0a2b04.tar.zst
PeerTube-218b0874ede2f0d35fdbcfb64dbe19083b0a2b04.zip
Add get user cache for comments
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.component.ts')
-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 8c376d654..0c18b6e5d 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
@@ -107,7 +107,7 @@ export class VideoCommentComponent implements OnInit, OnChanges {
107 107
108 const user = this.authService.getUser() 108 const user = this.authService.getUser()
109 if (user.hasRight(UserRight.MANAGE_USERS)) { 109 if (user.hasRight(UserRight.MANAGE_USERS)) {
110 this.userService.getUser(account.userId) 110 this.userService.getUserWithCache(account.userId)
111 .subscribe( 111 .subscribe(
112 user => this.commentUser = user, 112 user => this.commentUser = user,
113 113