]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-list/video-local.component.ts
category parma -> categoryOneOf (videos list)
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-list / video-local.component.ts
index de460ea60eaf1d470265a6202556014e79344b0b..c91c639cacefbbe1ed7425580e5b57d17a59c82a 100644 (file)
@@ -50,10 +50,10 @@ export class VideoLocalComponent extends AbstractVideoList implements OnInit, On
   getVideosObservable (page: number) {
     const newPagination = immutableAssign(this.pagination, { currentPage: page })
 
-    return this.videoService.getVideos(newPagination, this.sort, this.filter, this.category)
+    return this.videoService.getVideos(newPagination, this.sort, this.filter, this.categoryOneOf)
   }
 
   generateSyndicationList () {
-    this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, this.filter, this.category)
+    this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, this.filter, this.categoryOneOf)
   }
 }