From 4beda9e12adc7b1f3b178cecd6863ebf3cf431f1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 Oct 2021 09:44:43 +0200 Subject: Add ability to view my followers --- client/src/app/shared/shared-main/users/user-history.service.ts | 2 +- client/src/app/shared/shared-main/users/user-notification.service.ts | 2 +- .../src/app/shared/shared-main/users/user-notifications.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/shared-main/users') diff --git a/client/src/app/shared/shared-main/users/user-history.service.ts b/client/src/app/shared/shared-main/users/user-history.service.ts index 91268af8c..a4841897d 100644 --- a/client/src/app/shared/shared-main/users/user-history.service.ts +++ b/client/src/app/shared/shared-main/users/user-history.service.ts @@ -19,7 +19,7 @@ export class UserHistoryService { ) {} getUserVideosHistory (historyPagination: ComponentPaginationLight, search?: string) { - const pagination = this.restService.componentPaginationToRestPagination(historyPagination) + const pagination = this.restService.componentToRestPagination(historyPagination) let params = new HttpParams() params = this.restService.addRestGetParams(params, pagination) diff --git a/client/src/app/shared/shared-main/users/user-notification.service.ts b/client/src/app/shared/shared-main/users/user-notification.service.ts index 09fee87a3..e27dab21a 100644 --- a/client/src/app/shared/shared-main/users/user-notification.service.ts +++ b/client/src/app/shared/shared-main/users/user-notification.service.ts @@ -29,7 +29,7 @@ export class UserNotificationService { const { pagination, ignoreLoadingBar, unread, sort } = parameters let params = new HttpParams() - params = this.restService.addRestGetParams(params, this.restService.componentPaginationToRestPagination(pagination), sort) + params = this.restService.addRestGetParams(params, this.restService.componentToRestPagination(pagination), sort) if (unread) params = params.append('unread', `${unread}`) diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index ee8df864a..9af6da784 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html @@ -203,7 +203,7 @@
- A new version of PeerTube is available: {{ notification.peertube.latestVersion }} + A new version of PeerTube is available: {{ notification.peertube.latestVersion }}
-- cgit v1.2.3