diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+my-library/my-videos/my-videos.component.ts | 4 |
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) { |