diff --git a/src/components/EnhancedTable.js b/src/components/EnhancedTable.js index bb3f6f7..cd7616f 100644 --- a/src/components/EnhancedTable.js +++ b/src/components/EnhancedTable.js @@ -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