this.componentPagination.totalItems = res.total
this.onDataSubject.next(res.data)
+ this.hooks.runAction('action:video-watch.video-threads.loaded', 'video-watch', { data: this.componentPagination })
},
err => this.notifier.error(err.message)
return this.authService.isLoggedIn()
}
- onNearOfBottom () {
- this.componentPagination.currentPage++
-
+ onNearOfBottom () {
if (hasMoreItems(this.componentPagination)) {
+ this.componentPagination.currentPage++
this.loadMoreThreads()
}
}
this.componentPagination.totalItems = null
this.syndicationItems = this.videoCommentService.getVideoCommentsFeeds(this.video.uuid)
-
this.loadMoreThreads()
}
}