Fix search form clearing out.
This commit is contained in:
parent
906f34ff2d
commit
58b38424b7
1 changed files with 0 additions and 1 deletions
1
ui/src/components/search.tsx
vendored
1
ui/src/components/search.tsx
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue