diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-27 17:52:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-27 17:52:41 +0200 |
commit | 2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b (patch) | |
tree | 71df5703d07b57d82ba84c7d78f149426c4606be | |
parent | a86887a4b8f1055e184508ff284f16e036cdd907 (diff) | |
download | PeerTube-2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b.tar.gz PeerTube-2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b.tar.zst PeerTube-2e78e2684c6fa1c4f046fe35c3123b1e0f7d086b.zip |
Fix lint
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/video/abstract-video-list.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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, | |||
23 | checkedVideos: { [ id: number ]: boolean } = {} | 23 | checkedVideos: { [ id: number ]: boolean } = {} |
24 | pagination: ComponentPagination = { | 24 | pagination: ComponentPagination = { |
25 | currentPage: 1, | 25 | currentPage: 1, |
26 | itemsPerPage: 10, | 26 | itemsPerPage: 5, |
27 | totalItems: null | 27 | totalItems: null |
28 | } | 28 | } |
29 | 29 | ||
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 { | |||
162 | 162 | ||
163 | protected setNewRouteParams () { | 163 | protected setNewRouteParams () { |
164 | const routeParams = this.buildRouteParams() | 164 | const routeParams = this.buildRouteParams() |
165 | this.router.navigate([ this.currentRoute ], { queryParams: routeParams }) | 165 | this.router.navigate([ this.currentRoute ], { queryParams: routeParams }) |
166 | } | 166 | } |
167 | 167 | ||
168 | protected buildVideoPages () { | 168 | protected buildVideoPages () { |