X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.ts;h=0c18b6e5d5b872a030d34d37a327c4c78dae57c1;hb=218b0874ede2f0d35fdbcfb64dbe19083b0a2b04;hp=0d48f0a8205d2bac46482666c42824f82d3b8ac1;hpb=51e028a94e79957a4ef6a620b9ef3c956064f05e;p=github%2FChocobozzz%2FPeerTube.git 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 0d48f0a82..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 @@ -22,6 +22,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { @Input() commentTree: VideoCommentThreadTree @Input() inReplyToCommentId: number @Input() highlightedComment = false + @Input() firstInThread = false @Output() wantedToDelete = new EventEmitter() @Output() wantedToReply = new EventEmitter() @@ -106,7 +107,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { const user = this.authService.getUser() if (user.hasRight(UserRight.MANAGE_USERS)) { - this.userService.getUser(account.userId) + this.userService.getUserWithCache(account.userId) .subscribe( user => this.commentUser = user,