Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix my videos search on refresh

Chocobozzzca44cb36921a
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 72d28ced73..b1f3baf801 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 {
this.buildActions()
this.user = this.authService.getUser()
+
+ if (this.route.snapshot.queryParams['search']) {
+ this.search = this.route.snapshot.queryParams['search']
+ }
}
onSearch (search: string) {