aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components/list/videos-list.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-23 12:15:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-23 12:15:03 +0200
commitaff038cd784ab09a9f62b2e81816110e100ba7b8 (patch)
treef840355a06dbfe8f3868059a5515faf4d2998026 /client/angular/videos/components/list/videos-list.component.ts
parentcf20596c107eb0833259fa1098cc784267298a19 (diff)
downloadPeerTube-aff038cd784ab09a9f62b2e81816110e100ba7b8.tar.gz
PeerTube-aff038cd784ab09a9f62b2e81816110e100ba7b8.tar.zst
PeerTube-aff038cd784ab09a9f62b2e81816110e100ba7b8.zip
Lint the client
Diffstat (limited to 'client/angular/videos/components/list/videos-list.component.ts')
-rw-r--r--client/angular/videos/components/list/videos-list.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts
index 98fe7b153..db64a856e 100644
--- a/client/angular/videos/components/list/videos-list.component.ts
+++ b/client/angular/videos/components/list/videos-list.component.ts
@@ -27,7 +27,7 @@ export class VideosListComponent implements OnInit {
27 currentPage: 1, 27 currentPage: 1,
28 itemsPerPage: 9, 28 itemsPerPage: 9,
29 total: 0 29 total: 0
30 } 30 };
31 sort: SortField; 31 sort: SortField;
32 32
33 private search: Search; 33 private search: Search;
@@ -41,7 +41,7 @@ export class VideosListComponent implements OnInit {
41 this.search = { 41 this.search = {
42 value: this._routeParams.get('search'), 42 value: this._routeParams.get('search'),
43 field: <SearchField>this._routeParams.get('field') 43 field: <SearchField>this._routeParams.get('field')
44 } 44 };
45 45
46 this.sort = <SortField>this._routeParams.get('sort') || '-createdDate'; 46 this.sort = <SortField>this._routeParams.get('sort') || '-createdDate';
47 } 47 }