From 70af9a0d4f09d0254ec1c9fd4dac6c428a320673 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2016 22:08:39 +0200 Subject: Fix router on / --- client/src/app/shared/search/search.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/search') diff --git a/client/src/app/shared/search/search.component.ts b/client/src/app/shared/search/search.component.ts index 2f89d83bf..9218850ed 100644 --- a/client/src/app/shared/search/search.component.ts +++ b/client/src/app/shared/search/search.component.ts @@ -52,7 +52,7 @@ export class SearchComponent implements OnInit { this.searchCriterias.field = choice; - if (this.searchCriterias.value !== '') { + if (this.searchCriterias.value) { this.doSearch(); } } -- cgit v1.2.3