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 | |
parent | 5b8072ee0ba95641da535309c6582330afb6e603 (diff) | |
download | PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.tar.gz PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.tar.zst PeerTube-86ec3e53ac75bc101959add910051f41a2b8245d.zip |
Put comments reply on the top
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.component.ts | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d28674c6d..9fe96ea79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -1,5 +1,11 @@ | |||
1 | # Changelog | 1 | # Changelog |
2 | 2 | ||
3 | ## v0.0.27-alpha | ||
4 | |||
5 | ### Bug fixes | ||
6 | |||
7 | * Fix comment reply highlighting | ||
8 | |||
3 | 9 | ||
4 | ## v0.0.26-alpha | 10 | ## v0.0.26-alpha |
5 | 11 | ||
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 | }) |