From 86ec3e53ac75bc101959add910051f41a2b8245d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Feb 2018 17:48:50 +0100 Subject: Put comments reply on the top --- client/src/app/videos/+video-watch/comment/video-comment.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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 e7ba64b4d..cfcefed83 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 @@ -57,7 +57,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { this.threadCreated.emit(this.commentTree) } - this.commentTree.children.push({ + this.commentTree.children.unshift({ comment: createdComment, children: [] }) -- cgit v1.2.3