diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-25 17:18:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-25 17:18:46 +0200 |
commit | d59cba295b7f2ead41e1828c1567e60942476367 (patch) | |
tree | 2df3f92a07d7672268362bf9d51f2d685a91f0d2 /client/src/app/videos/video-list/video-recently-added.component.ts | |
parent | 87bec1051b9706b4ae1efbd92e4d974c01d98c51 (diff) | |
download | PeerTube-d59cba295b7f2ead41e1828c1567e60942476367.tar.gz PeerTube-d59cba295b7f2ead41e1828c1567e60942476367.tar.zst PeerTube-d59cba295b7f2ead41e1828c1567e60942476367.zip |
category parma -> categoryOneOf (videos list)
Diffstat (limited to 'client/src/app/videos/video-list/video-recently-added.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-recently-added.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/video-list/video-recently-added.component.ts b/client/src/app/videos/video-list/video-recently-added.component.ts index 75688731d..ac1fcfff3 100644 --- a/client/src/app/videos/video-list/video-recently-added.component.ts +++ b/client/src/app/videos/video-list/video-recently-added.component.ts | |||
@@ -48,10 +48,10 @@ export class VideoRecentlyAddedComponent extends AbstractVideoList implements On | |||
48 | getVideosObservable (page: number) { | 48 | getVideosObservable (page: number) { |
49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) | 49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) |
50 | 50 | ||
51 | return this.videoService.getVideos(newPagination, this.sort, undefined, this.category) | 51 | return this.videoService.getVideos(newPagination, this.sort, undefined, this.categoryOneOf) |
52 | } | 52 | } |
53 | 53 | ||
54 | generateSyndicationList () { | 54 | generateSyndicationList () { |
55 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, undefined, this.category) | 55 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, undefined, this.categoryOneOf) |
56 | } | 56 | } |
57 | } | 57 | } |