diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-21 17:48:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-21 17:50:41 +0100 |
commit | 86ec3e53ac75bc101959add910051f41a2b8245d (patch) | |
tree | e97c2c2f571377548c3d72654225e1fed16d8a10 /client/src/app | |
parent | 5b8072ee0ba95641da535309c6582330afb6e603 (diff) | |
download | PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.tar.gz PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.tar.zst PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.zip |
Put comments reply on the top
Diffstat (limited to 'client/src/app')
-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 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 { | |||
57 | this.threadCreated.emit(this.commentTree) | 57 | this.threadCreated.emit(this.commentTree) |
58 | } | 58 | } |
59 | 59 | ||
60 | this.commentTree.children.push({ | 60 | this.commentTree.children.unshift({ |
61 | comment: createdComment, | 61 | comment: createdComment, |
62 | children: [] | 62 | children: [] |
63 | }) | 63 | }) |