Merge pull request #290 from sharetribe/modal-close-on-payoutform

PayoutForm didn't close modal properly
This commit is contained in:
Vesa Luusua 2017-07-07 12:57:09 +03:00 committed by GitHub
commit 6e246a2f58

View file

@ -62,6 +62,7 @@ class EditListingPhotosPanel extends Component {
address: omitBy(address, isUndefined),
};
this.props.onPayoutDetailsSubmit(params).then(() => {
this.props.onManageDisableScrolling("EditListingPhotosPanel.payoutModal", false);
this.props.onSubmit(this.state.submittedValues);
});
}