X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideo-list%2Fvideo-sort.component.ts;h=20979a3950ede88993ee7e54c8e0629d5d31bbe4;hb=1d49e1e27d63db1dfc9a7fd28c9902f488831a89;hp=cde307f2ffde94de997d24ab8f85d81ececcd5c9;hpb=86e83939869976e9b4dfa6dc9d3785a284bd598c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/video-list/video-sort.component.ts b/client/src/app/videos/video-list/video-sort.component.ts index cde307f2f..20979a395 100644 --- a/client/src/app/videos/video-list/video-sort.component.ts +++ b/client/src/app/videos/video-list/video-sort.component.ts @@ -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',