Skip to content

Commit

Permalink
fix: prevent "null" as search term on search box initialization (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-Haehnlein authored Mar 16, 2020
1 parent 0529af5 commit 6bacee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shell/header/search-box/search-box.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type="text"
class="form-control searchTerm"
(input)="searchSuggest($event.target.value)"
[value]="allSearchTerms$ | async"
[value]="(allSearchTerms$ | async) || ''"
(focus)="hidePopup()"
(blur)="hidePopup()"
(keydown.esc)="hidePopup()"
Expand Down

0 comments on commit 6bacee7

Please sign in to comment.