Fix search on map when search is deleted
This commit is contained in:
parent
cb8f0ba3fd
commit
834f592707
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class EnhancedTable extends Component {
|
|||
// If query is empty or undefined
|
||||
if (!query) {
|
||||
this.setState({searchQuery: ''});
|
||||
this.props.onSearchChange(this.props.data);
|
||||
return;
|
||||
}
|
||||
// Update the search field as soon as the character is typed
|
||||
|
|
Loading…
Reference in a new issue