From 58b38424b7adeaff6428a30fdaa6f53d3b78a34a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 29 Apr 2020 13:05:38 -0400 Subject: [PATCH] Fix search form clearing out. --- ui/src/components/search.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index c14f2448e..a02f035ff 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -109,7 +109,6 @@ export class Search extends Component { 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);