aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-15 10:30:39 +0200
committerChocobozzz <me@florianbigard.com>2021-10-15 10:30:39 +0200
commitca44cb36921a495e0583fb3c0553dd262855273a (patch)
treebd7b7486dbea9752f4c5ee8221dfac7b6b986820
parentbacb544dbb548955d3f47365902b104d787a51a3 (diff)
downloadPeerTube-ca44cb36921a495e0583fb3c0553dd262855273a.tar.gz
PeerTube-ca44cb36921a495e0583fb3c0553dd262855273a.tar.zst
PeerTube-ca44cb36921a495e0583fb3c0553dd262855273a.zip
Fix my videos search on refresh
-rw-r--r--client/src/app/+my-library/my-videos/my-videos.component.ts4
1 files changed, 4 insertions, 0 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 72d28ced7..b1f3baf80 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
@@ -75,6 +75,10 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
75 this.buildActions() 75 this.buildActions()
76 76
77 this.user = this.authService.getUser() 77 this.user = this.authService.getUser()
78
79 if (this.route.snapshot.queryParams['search']) {
80 this.search = this.route.snapshot.queryParams['search']
81 }
78 } 82 }
79 83
80 onSearch (search: string) { 84 onSearch (search: string) {