Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix account channels page

Chocobozzz26fb3ee660a8
diff --git a/client/src/app/shared/shared-main/video-channel/video-channel.service.ts b/client/src/app/shared/shared-main/video-channel/video-channel.service.ts
index 9a42fcc52d..68c53741f6 100644
--- a/client/src/app/shared/shared-main/video-channel/video-channel.service.ts
+++ b/client/src/app/shared/shared-main/video-channel/video-channel.service.ts
@@ -57,7 +57,7 @@ export class VideoChannelService {
}): Observable<ResultList<VideoChannel>> {
const { account, componentPagination, withStats = false, sort, search } = options
- const defaultCount = this.serverService.getHTMLConfig().videoChannels.maxPerUser
+ const defaultCount = Math.min(this.serverService.getHTMLConfig().videoChannels.maxPerUser, 100) // 100 is the max count on server side
const pagination = componentPagination
? this.restService.componentToRestPagination(componentPagination)