Support for detecting MTA by its response. Message IDs are reconstructed based on detected MTA.
Bugfixes for AWS. AWS now seems to work.
This commit is contained in:
Tomas Bures 2019-05-20 00:21:03 +02:00
parent bbbe671d59
commit 3c72e778d9
6 changed files with 83 additions and 45 deletions

View file

@ -57,18 +57,21 @@ export default class List extends Component {
segmentId: PropTypes.string
}
updateSegmentSelection(props) {
componentDidMount() {
this.populateFormValues({
segment: props.segmentId || ''
segment: this.props.segmentId || ''
});
}
componentDidMount() {
this.updateSegmentSelection(this.props);
}
componentDidUpdate() {
this.updateSegmentSelection(this.props);
const segmentId = this.props.segmentId || '';
if (this.getFormValue('segment') !== segmentId) {
// Populate is used here because it does not invoke onChange
this.populateFormValues({
segment: segmentId
});
}
}
render() {