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,
|
||||
disabled: formDisabled,
|
||||
handlers,
|
||||
hasChanged,
|
||||
submit
|
||||
}) => (
|
||||
<Container>
|
||||
|
@ -256,7 +255,7 @@ const ProductVariantCreatePage: React.FC<ProductVariantCreatePageProps> = ({
|
|||
</div>
|
||||
</Grid>
|
||||
<Savebar
|
||||
disabled={disabled || formDisabled || !onSubmit || !hasChanged}
|
||||
disabled={disabled || formDisabled || !onSubmit}
|
||||
labels={{
|
||||
confirm: intl.formatMessage(messages.saveVariant),
|
||||
delete: intl.formatMessage(messages.deleteVariant)
|
||||
|
|
Loading…
Reference in a new issue