Fix for #536
This commit is contained in:
parent
7f2a9ca940
commit
df2a8c1cde
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ class TreeTable extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
shouldComponentUpdate(nextProps, nextState) {
|
shouldComponentUpdate(nextProps, nextState) {
|
||||||
return this.props.selection !== nextProps.selection || this.state.treeData != nextState.treeData || this.props.className !== nextProps.className;
|
return this.props.selection !== nextProps.selection || this.props.data !== nextProps.data || this.props.dataUrl !== nextProps.dataUrl ||
|
||||||
|
this.state.treeData != nextState.treeData || this.props.className !== nextProps.className;
|
||||||
}
|
}
|
||||||
|
|
||||||
// XSS protection
|
// XSS protection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue