mirror of https://github.com/apache/superset.git
[hotfix] result set always updates
This commit is contained in:
parent
df89bec712
commit
6e5a93a6e1
|
@ -13,12 +13,6 @@ class ResultSet extends React.Component {
|
|||
showModal: false,
|
||||
};
|
||||
}
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
return (
|
||||
this.state.searchText !== nextState.searchText ||
|
||||
this.state.showModal !== nextState.showModal
|
||||
);
|
||||
}
|
||||
changeSearch(event) {
|
||||
this.setState({ searchText: event.target.value });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue