Fix lint
authorChocobozzz <me@florianbigard.com>
Tue, 27 Mar 2018 15:52:41 +0000 (17:52 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 27 Mar 2018 15:52:41 +0000 (17:52 +0200)
client/src/app/account/account-videos/account-videos.component.ts
client/src/app/shared/video/abstract-video-list.ts

index 4f2f3e2421891663239ff0d6c6172188c35a2219..2664d59d8fe2e3d3989cec74211cad2d038d262e 100644 (file)
@@ -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
   }
 
index 021c285c0c3e2c8d2923a4d315a078b68ccf16f3..1b9a519bd4930482f371aeb889e1dc3e3a7231ee 100644 (file)
@@ -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 () {