Fix in-progress config rendering

This commit is contained in:
Ingvar Stepanyan
2021-07-26 13:24:35 +00:00
parent 1072d5faa5
commit 92c785dc73

View File

@@ -28,6 +28,8 @@ export class Widget extends Component {
return false; return false;
} }
return ( return (
this.state.inProgress ||
nextState.inProgress ||
getValueForComparison(this.props.config) !== getValueForComparison(this.props.config) !==
getValueForComparison(nextProps.config) || getValueForComparison(nextProps.config) ||
this.props.config.readonly !== nextProps.config.readonly this.props.config.readonly !== nextProps.config.readonly