summaryrefslogtreecommitdiffstats
path: root/ui/src/components/search.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-04-29 13:05:38 -0400
committerDessalines <tyhou13@gmx.com>2020-04-29 13:05:38 -0400
commitee4f923f60fc732f9d57cebbeeb6879479886291 (patch)
tree9f62cfe7104fb7d688abb149417b82001787fe91 /ui/src/components/search.tsx
parent8cd68f56aa084f3c2e0affee50b8f57a1f4907bf (diff)
Fix search form clearing out.
Diffstat (limited to 'ui/src/components/search.tsx')
-rw-r--r--ui/src/components/search.tsx1
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);