web.client: Settings: revert (6ab8348aad)

This commit is contained in:
Daniil Senkiv 2019-12-23 18:34:49 +03:00
parent 7b4c1f6154
commit f2d5bfdc82

View File

@ -109,13 +109,13 @@ class ArticleBodyContent extends React.Component {
history.push(newPath);
}
// shouldComponentUpdate(nextProps, nextState) {
// if (!utils.array.isArrayEqual(nextState.selectedKeys, this.state.selectedKeys)) {
// return true;
// }
shouldComponentUpdate(nextProps, nextState) {
if (!utils.array.isArrayEqual(nextState.selectedKeys, this.state.selectedKeys)) {
return true;
}
// return false;
// }
return false;
}
onSelect = value => {
const { selectedKeys } = this.state;