aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <chocobozzz@cpy.re>2020-03-05 13:14:26 +0100
committerGitHub <noreply@github.com>2020-03-05 13:14:26 +0100
commit0840ca76a2de3a2907aa64c2cdaf3d2c69b691c2 (patch)
treee4a7332d5302a7334a4bb6b108cd293a0f55f236 /client/src/app
parent52e3beb90d690061847a483fed798c0e10971cba (diff)
downloadPeerTube-0840ca76a2de3a2907aa64c2cdaf3d2c69b691c2.tar.gz
PeerTube-0840ca76a2de3a2907aa64c2cdaf3d2c69b691c2.tar.zst
PeerTube-0840ca76a2de3a2907aa64c2cdaf3d2c69b691c2.zip
Add action hook, comments loaded (#2539)
* Adding action hook for video watch comments loaded * Adding requested changes for PR #2539
Diffstat (limited to 'client/src/app')
-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 a87bc16d7..910a1761c 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
@@ -130,6 +130,7 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
130 this.componentPagination.totalItems = res.total 130 this.componentPagination.totalItems = res.total
131 131
132 this.onDataSubject.next(res.data) 132 this.onDataSubject.next(res.data)
133 this.hooks.runAction('action:video-watch.video-threads.loaded', 'video-watch', { data: this.componentPagination })
133 }, 134 },
134 135
135 err => this.notifier.error(err.message) 136 err => this.notifier.error(err.message)