From 2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Mar 2018 17:52:41 +0200 Subject: Fix lint --- client/src/app/account/account-videos/account-videos.component.ts | 2 +- client/src/app/shared/video/abstract-video-list.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts index 4f2f3e242..2664d59d8 100644 --- a/client/src/app/account/account-videos/account-videos.component.ts +++ b/client/src/app/account/account-videos/account-videos.component.ts @@ -23,7 +23,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit, checkedVideos: { [ id: number ]: boolean } = {} pagination: ComponentPagination = { currentPage: 1, - itemsPerPage: 10, + itemsPerPage: 5, totalItems: null } diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts index 021c285c0..1b9a519bd 100644 --- a/client/src/app/shared/video/abstract-video-list.ts +++ b/client/src/app/shared/video/abstract-video-list.ts @@ -162,7 +162,7 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy { protected setNewRouteParams () { const routeParams = this.buildRouteParams() - this.router.navigate([ this.currentRoute ], { queryParams: routeParams }) + this.router.navigate([ this.currentRoute ], { queryParams: routeParams }) } protected buildVideoPages () { -- cgit v1.2.3