aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components/list/video-sort.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/video-sort.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/video-sort.component.ts')
-rw-r--r--client/angular/videos/components/list/video-sort.component.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/angular/videos/components/list/video-sort.component.ts b/client/angular/videos/components/list/video-sort.component.ts
index e63a70e9e..0373cea38 100644
--- a/client/angular/videos/components/list/video-sort.component.ts
+++ b/client/angular/videos/components/list/video-sort.component.ts
@@ -15,12 +15,12 @@ export class VideoSortComponent {
15 15
16 sortChoices = { 16 sortChoices = {
17 'name': 'Name - Asc', 17 'name': 'Name - Asc',
18 '-name': "Name - Desc", 18 '-name': 'Name - Desc',
19 'duration': "Duration - Asc", 19 'duration': 'Duration - Asc',
20 '-duration': "Duration - Desc", 20 '-duration': 'Duration - Desc',
21 'createdDate': "Created Date - Asc", 21 'createdDate': 'Created Date - Asc',
22 '-createdDate': "Created Date - Desc" 22 '-createdDate': 'Created Date - Desc'
23 } 23 };
24 24
25 get choiceKeys() { 25 get choiceKeys() {
26 return Object.keys(this.sortChoices); 26 return Object.keys(this.sortChoices);