Put comments reply on the top
This commit is contained in:
parent
5b8072ee0b
commit
86ec3e53ac
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.0.27-alpha
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
* Fix comment reply highlighting
|
||||||
|
|
||||||
|
|
||||||
## v0.0.26-alpha
|
## v0.0.26-alpha
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ export class VideoCommentComponent implements OnInit, OnChanges {
|
||||||
this.threadCreated.emit(this.commentTree)
|
this.threadCreated.emit(this.commentTree)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.commentTree.children.push({
|
this.commentTree.children.unshift({
|
||||||
comment: createdComment,
|
comment: createdComment,
|
||||||
children: []
|
children: []
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user