Put comments reply on the top

This commit is contained in:
Chocobozzz 2018-02-21 17:48:50 +01:00
parent 5b8072ee0b
commit 86ec3e53ac
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## v0.0.27-alpha
### Bug fixes
* Fix comment reply highlighting
## v0.0.26-alpha

View File

@ -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: []
})