]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-list/video-sort.component.ts
Server: Add NSFW in user profile
[github/Chocobozzz/PeerTube.git] / 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',