mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
fix #811
This commit is contained in:
parent
6070d150a9
commit
8e940112f5
@ -40,7 +40,7 @@ export default (
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
let nextData = nextProps.data;
|
||||
if (!isRemoteFiltering() && !_.isEqual(nextProps.data, this.props.data)) {
|
||||
if (!isRemoteFiltering() && !_.isEqual(nextProps.data, this.state.data)) {
|
||||
nextData = this.doFilter(nextProps);
|
||||
}
|
||||
this.setState({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user