diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-06 10:08:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-06 10:08:21 +0200 |
commit | 0df302ca8d680652b58a0a7f606c2b383c53b1f6 (patch) | |
tree | 3577a88ed77768231da0bd41dfdee60d8eb7e5bd | |
parent | 8e286cdca4ccfbd1ee5edc4b4446a6f81e7586a4 (diff) | |
download | PeerTube-0df302ca8d680652b58a0a7f606c2b383c53b1f6.tar.gz PeerTube-0df302ca8d680652b58a0a7f606c2b383c53b1f6.tar.zst PeerTube-0df302ca8d680652b58a0a7f606c2b383c53b1f6.zip |
Remove unused sort param
-rw-r--r-- | client/src/app/+my-library/my-videos/my-videos.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.ts b/client/src/app/+my-library/my-videos/my-videos.component.ts index d6e66e617..356e158d6 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.ts +++ b/client/src/app/+my-library/my-videos/my-videos.component.ts | |||
@@ -93,7 +93,7 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook { | |||
93 | this.videosSelection.enabledForReuse() | 93 | this.videosSelection.enabledForReuse() |
94 | } | 94 | } |
95 | 95 | ||
96 | getVideosObservable (page: number, sort: VideoSortField) { | 96 | getVideosObservable (page: number) { |
97 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) | 97 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) |
98 | 98 | ||
99 | return this.videoService.getMyVideos(newPagination, this.sort, this.videosSearch) | 99 | return this.videoService.getMyVideos(newPagination, this.sort, this.videosSearch) |