Client: fix prod compilation
authorChocobozzz <florian.bigard@gmail.com>
Fri, 10 Mar 2017 09:42:02 +0000 (10:42 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 10 Mar 2017 09:42:02 +0000 (10:42 +0100)
client/src/app/videos/video-list/video-sort.component.ts

index cde307f2ffde94de997d24ab8f85d81ececcd5c9..20979a3950ede88993ee7e54c8e0629d5d31bbe4 100644 (file)
@@ -12,7 +12,7 @@ export class VideoSortComponent {
 
   @Input() currentSort: SortField;
 
-  sortChoices: { [ id: SortField ]: string } = {
+  sortChoices: { [ P in SortField ]: string } = {
     'name': 'Name - Asc',
     '-name': 'Name - Desc',
     'duration': 'Duration - Asc',