Merge branch 'master' into feature/update-default-decimal-places
This commit is contained in:
commit
984e794fd9
3 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,7 @@ All notable, unreleased changes to this project will be documented in this file.
|
||||||
- Update savebar design - #690 by @dominik-zeglen
|
- Update savebar design - #690 by @dominik-zeglen
|
||||||
- Add metadata to orders - #688 by @dominik-zeglen
|
- Add metadata to orders - #688 by @dominik-zeglen
|
||||||
- Add lazyload to locales - #692 by @eaglesemanation
|
- Add lazyload to locales - #692 by @eaglesemanation
|
||||||
|
- Fix not closed address update modal with two confirmations - #699 by @orzechdev
|
||||||
- Update schema with PositiveDecimal type - #695 by @AlicjaSzu
|
- Update schema with PositiveDecimal type - #695 by @AlicjaSzu
|
||||||
|
|
||||||
## 2.10.1
|
## 2.10.1
|
||||||
|
|
|
@ -80,7 +80,7 @@ const OrderAddressEditDialog: React.FC<OrderAddressEditDialogProps> = props => {
|
||||||
return (
|
return (
|
||||||
<Dialog onClose={onClose} open={open} classes={{ paper: classes.overflow }}>
|
<Dialog onClose={onClose} open={open} classes={{ paper: classes.overflow }}>
|
||||||
<Form initial={address} onSubmit={handleSubmit}>
|
<Form initial={address} onSubmit={handleSubmit}>
|
||||||
{({ change, data, submit }) => {
|
{({ change, data }) => {
|
||||||
const handleCountrySelect = createSingleAutocompleteSelectHandler(
|
const handleCountrySelect = createSingleAutocompleteSelectHandler(
|
||||||
change,
|
change,
|
||||||
setCountryDisplayName,
|
setCountryDisplayName,
|
||||||
|
@ -118,7 +118,6 @@ const OrderAddressEditDialog: React.FC<OrderAddressEditDialogProps> = props => {
|
||||||
transitionState={confirmButtonState}
|
transitionState={confirmButtonState}
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
onClick={submit}
|
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
<FormattedMessage {...buttonMessages.confirm} />
|
<FormattedMessage {...buttonMessages.confirm} />
|
||||||
|
|
|
@ -160,6 +160,7 @@ export const OrderDetailsMessages: React.FC<OrderDetailsMessages> = ({
|
||||||
defaultMessage: "Order successfully updated"
|
defaultMessage: "Order successfully updated"
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
closeModal();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const handleDraftUpdate = (data: OrderDraftUpdate) => {
|
const handleDraftUpdate = (data: OrderDraftUpdate) => {
|
||||||
|
|
Loading…
Reference in a new issue