Merged PR #528
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:
parent
bbbe671d59
commit
3c72e778d9
6 changed files with 83 additions and 45 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue