aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorBitTube <hello@bittube.app>2020-03-11 08:59:41 +0000
committerGitHub <noreply@github.com>2020-03-11 09:59:41 +0100
commitcf387740f2a52c5b846d04f3bb76344b064e6886 (patch)
tree533d0b085e179311610695ec79093c4bdefa32b4 /client
parent9878d1ac63682ba58ace4cbe8b1878fa77c58acb (diff)
downloadPeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.tar.gz
PeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.tar.zst
PeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.zip
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 <i.cabaleiro@devcups.com>
Diffstat (limited to 'client')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comments.component.ts1
1 files changed, 1 insertions, 0 deletions
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 {
96 res => { 96 res => {
97 this.threadComments[commentId] = res 97 this.threadComments[commentId] = res
98 this.threadLoading[commentId] = false 98 this.threadLoading[commentId] = false
99 this.hooks.runAction('action:video-watch.video-thread-replies.loaded', 'video-watch', { data: res })
99 100
100 if (highlightThread) { 101 if (highlightThread) {
101 this.highlightedThread = new VideoComment(res.comment) 102 this.highlightedThread = new VideoComment(res.comment)