@Component({
selector: 'my-video-comments',
templateUrl: './video-comments.component.html',
- styleUrls: ['./video-comments.component.scss']
+ styleUrls: [ './video-comments.component.scss' ]
})
export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
@ViewChild('commentHighlightBlock') commentHighlightBlock: ElementRef
this.threadLoading[commentId] = true
const params = {
- videoId: this.video.id,
+ videoId: this.video.uuid,
threadId: commentId
}
loadMoreThreads () {
const params = {
- videoId: this.video.id,
+ videoId: this.video.uuid,
componentPagination: this.componentPagination,
sort: this.sort
}
}
async onWantedToRedraft (commentToRedraft: VideoComment) {
- const confirm = await this.onWantedToDelete(commentToRedraft, $localize`Delete and re-draft`, $localize`Do you really want to delete and re-draft this comment?`)
+ const confirm = await this.onWantedToDelete(
+ commentToRedraft,
+ $localize`Delete and re-draft`,
+ $localize`Do you really want to delete and re-draft this comment?`
+ )
if (confirm) {
this.inReplyToCommentId = commentToRedraft.inReplyToCommentId