aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comments.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-22 16:04:44 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commite8f902c05cb35f6d5e9b75a23ddabd51c220a976 (patch)
treeeb6297bc50206546cbae12c6abc5b50ed802b17e /client/src/app/videos/+video-watch/comment/video-comments.component.ts
parent93cae47925e4dd68b7d34a41927b2740b4fab1b4 (diff)
downloadPeerTube-e8f902c05cb35f6d5e9b75a23ddabd51c220a976.tar.gz
PeerTube-e8f902c05cb35f6d5e9b75a23ddabd51c220a976.tar.zst
PeerTube-e8f902c05cb35f6d5e9b75a23ddabd51c220a976.zip
Use search client scope
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comments.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comments.component.ts4
1 files changed, 2 insertions, 2 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 3c1a0986c..5bafc55e5 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
@@ -122,8 +122,8 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
122 122
123 obs.subscribe( 123 obs.subscribe(
124 res => { 124 res => {
125 this.comments = this.comments.concat(res.comments) 125 this.comments = this.comments.concat(res.data)
126 this.componentPagination.totalItems = res.totalComments 126 this.componentPagination.totalItems = res.total
127 }, 127 },
128 128
129 err => this.notifier.error(err.message) 129 err => this.notifier.error(err.message)