mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[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,
|
showModal: false,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
shouldComponentUpdate(nextProps, nextState) {
|
|
||||||
return (
|
|
||||||
this.state.searchText !== nextState.searchText ||
|
|
||||||
this.state.showModal !== nextState.showModal
|
|
||||||
);
|
|
||||||
}
|
|
||||||
changeSearch(event) {
|
changeSearch(event) {
|
||||||
this.setState({ searchText: event.target.value });
|
this.setState({ searchText: event.target.value });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user