aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/header')
-rw-r--r--client/src/app/header/header.component.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/header/header.component.ts b/client/src/app/header/header.component.ts
index a903048f2..6b0ee67ff 100644
--- a/client/src/app/header/header.component.ts
+++ b/client/src/app/header/header.component.ts
@@ -19,8 +19,6 @@ export class HeaderComponent implements OnInit {
19 } 19 }
20 20
21 doSearch () { 21 doSearch () {
22 if (!this.searchValue) return
23
24 this.router.navigate([ '/videos', 'search' ], { 22 this.router.navigate([ '/videos', 'search' ], {
25 queryParams: { search: this.searchValue } 23 queryParams: { search: this.searchValue }
26 }) 24 })