diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 22:08:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-10 22:08:39 +0200 |
commit | 70af9a0d4f09d0254ec1c9fd4dac6c428a320673 (patch) | |
tree | cd61e3e59c66a151c8c1f7c30a4670a01d8fe914 /client/src/app/shared | |
parent | 641f98b2eeb155d2a93d76c9f83ad9eafa3aac1e (diff) | |
download | PeerTube-70af9a0d4f09d0254ec1c9fd4dac6c428a320673.tar.gz PeerTube-70af9a0d4f09d0254ec1c9fd4dac6c428a320673.tar.zst PeerTube-70af9a0d4f09d0254ec1c9fd4dac6c428a320673.zip |
Fix router on /
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/search/search.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
52 | 52 | ||
53 | this.searchCriterias.field = choice; | 53 | this.searchCriterias.field = choice; |
54 | 54 | ||
55 | if (this.searchCriterias.value !== '') { | 55 | if (this.searchCriterias.value) { |
56 | this.doSearch(); | 56 | this.doSearch(); |
57 | } | 57 | } |
58 | } | 58 | } |