}
loadMoreChannels () {
- this.videoChannelService.listAccountVideoChannels(this.account, this.channelPagination)
+ const options = {
+ account: this.account,
+ componentPagination: this.channelPagination,
+ sort: '-updatedAt'
+ }
+
+ this.videoChannelService.listAccountVideoChannels(options)
.pipe(
tap(res => this.channelPagination.totalItems = res.total),
switchMap(res => from(res.data)),
}
getVideoChannelLink (videoChannel: VideoChannel) {
- return [ '/video-channels', videoChannel.nameWithHost ]
+ return [ '/c', videoChannel.nameWithHost ]
}
}