From 440d39c52d4efb878b6a2e21584d6b8f52072f27 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jan 2020 14:40:08 +0100 Subject: Skip videos count on client if we don't use it --- client/src/app/shared/user-subscription/user-subscription.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/user-subscription') diff --git a/client/src/app/shared/user-subscription/user-subscription.service.ts b/client/src/app/shared/user-subscription/user-subscription.service.ts index cfd5b100f..83df40a43 100644 --- a/client/src/app/shared/user-subscription/user-subscription.service.ts +++ b/client/src/app/shared/user-subscription/user-subscription.service.ts @@ -8,7 +8,7 @@ import { Observable, ReplaySubject, Subject } from 'rxjs' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' import { VideoChannel as VideoChannelServer } from '../../../../../shared/models/videos' -import { ComponentPagination } from '@app/shared/rest/component-pagination.model' +import { ComponentPaginationLight } from '@app/shared/rest/component-pagination.model' type SubscriptionExistResult = { [ uri: string ]: boolean } @@ -54,7 +54,7 @@ export class UserSubscriptionService { ) } - listSubscriptions (componentPagination: ComponentPagination): Observable> { + listSubscriptions (componentPagination: ComponentPaginationLight): Observable> { const url = UserSubscriptionService.BASE_USER_SUBSCRIPTIONS_URL const pagination = this.restService.componentPaginationToRestPagination(componentPagination) -- cgit v1.2.3