Disable form change check in variant creation (#1681)
This commit is contained in:
parent
6f8feebf7c
commit
0334411294
1 changed files with 1 additions and 2 deletions
|
@ -153,7 +153,6 @@ const ProductVariantCreatePage: React.FC<ProductVariantCreatePageProps> = ({
|
||||||
formErrors,
|
formErrors,
|
||||||
disabled: formDisabled,
|
disabled: formDisabled,
|
||||||
handlers,
|
handlers,
|
||||||
hasChanged,
|
|
||||||
submit
|
submit
|
||||||
}) => (
|
}) => (
|
||||||
<Container>
|
<Container>
|
||||||
|
@ -256,7 +255,7 @@ const ProductVariantCreatePage: React.FC<ProductVariantCreatePageProps> = ({
|
||||||
</div>
|
</div>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Savebar
|
<Savebar
|
||||||
disabled={disabled || formDisabled || !onSubmit || !hasChanged}
|
disabled={disabled || formDisabled || !onSubmit}
|
||||||
labels={{
|
labels={{
|
||||||
confirm: intl.formatMessage(messages.saveVariant),
|
confirm: intl.formatMessage(messages.saveVariant),
|
||||||
delete: intl.formatMessage(messages.deleteVariant)
|
delete: intl.formatMessage(messages.deleteVariant)
|
||||||
|
|
Loading…
Reference in a new issue