X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment-add.component.ts;h=a8c432653e3534454003c842661520f5636bb838;hb=be27ef3b4682c5639039474c39ee0d234d16f482;hp=1be96ad9e85b5d96551db98254e21fc01a810271;hpb=361dcebc75dea74947b6c3aafd9d7d720c054b01;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts index 1be96ad9e..a8c432653 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts @@ -25,7 +25,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { @Input() parentComments: VideoComment[] @Input() focusOnInit = false - @Output() commentCreated = new EventEmitter() + @Output() commentCreated = new EventEmitter() @Output() cancel = new EventEmitter() @ViewChild('visitorModal', { static: true }) visitorModal: NgbModal @@ -96,7 +96,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { this.addingComment = true const commentCreate: VideoCommentCreate = this.form.value - let obs: Observable + let obs: Observable if (this.parentComment) { obs = this.addCommentReply(commentCreate)