From cf387740f2a52c5b846d04f3bb76344b064e6886 Mon Sep 17 00:00:00 2001 From: BitTube Date: Wed, 11 Mar 2020 08:59:41 +0000 Subject: Action hook: thread replies loaded (#2550) * Add thread replies hook onLoaded * Cleaning spaces * Fixing travis CI lint errors (spaces) * Fixing travis 'irregular whitespace not allowed' * Changing action name for consistency Co-authored-by: ICabaleiro --- client/src/app/videos/+video-watch/comment/video-comments.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src') diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.ts b/client/src/app/videos/+video-watch/comment/video-comments.component.ts index ba59e0a1d..f2bb5c464 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.ts @@ -96,6 +96,7 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy { res => { this.threadComments[commentId] = res this.threadLoading[commentId] = false + this.hooks.runAction('action:video-watch.video-thread-replies.loaded', 'video-watch', { data: res }) if (highlightThread) { this.highlightedThread = new VideoComment(res.comment) -- cgit v1.2.3