From ca44cb36921a495e0583fb3c0553dd262855273a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Oct 2021 10:30:39 +0200 Subject: Fix my videos search on refresh --- client/src/app/+my-library/my-videos/my-videos.component.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') 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 { this.buildActions() this.user = this.authService.getUser() + + if (this.route.snapshot.queryParams['search']) { + this.search = this.route.snapshot.queryParams['search'] + } } onSearch (search: string) { -- cgit v1.2.3