in widgets/distribution-reports/src/app/distribution-report-form.js [99:109]
componentWillReceiveProps(props) {
this.setState({
disabled: props.disabled,
currentUser: props.currentUser,
fetchYouTrack: props.fetchYouTrack,
fetchHub: props.fetchHub
});
if ((props.report || {}).id !== (this.state.report || {}).id) {
this.updateReport(props.report);
}
}