aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-06 10:08:21 +0200
committerChocobozzz <me@florianbigard.com>2021-04-06 10:08:21 +0200
commit0df302ca8d680652b58a0a7f606c2b383c53b1f6 (patch)
tree3577a88ed77768231da0bd41dfdee60d8eb7e5bd
parent8e286cdca4ccfbd1ee5edc4b4446a6f81e7586a4 (diff)
downloadPeerTube-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.ts2
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)