From: Chocobozzz Date: Tue, 27 Mar 2018 15:52:41 +0000 (+0200) Subject: Fix lint X-Git-Tag: v1.0.0-beta.2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b;p=oweals%2Fpeertube.git Fix lint --- 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 () {