diff options
author | Dessalines <tyhou13@gmx.com> | 2020-04-29 13:05:38 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-04-29 13:05:38 -0400 |
commit | ee4f923f60fc732f9d57cebbeeb6879479886291 (patch) | |
tree | 9f62cfe7104fb7d688abb149417b82001787fe91 /ui/src/components/search.tsx | |
parent | 8cd68f56aa084f3c2e0affee50b8f57a1f4907bf (diff) |
Fix search form clearing out.
Diffstat (limited to 'ui/src/components/search.tsx')
-rw-r--r-- | ui/src/components/search.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index c14f2448..a02f035f 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -109,7 +109,6 @@ export class Search extends Component<any, SearchState> { nextProps.history.action == 'POP' || nextProps.history.action == 'PUSH' ) { - this.state = this.emptyState; this.state.q = this.getSearchQueryFromProps(nextProps); this.state.type_ = this.getSearchTypeFromProps(nextProps); this.state.sort = this.getSortTypeFromProps(nextProps); |