fix: active checkbox in itemForm.

This commit is contained in:
elforjani3
2020-11-29 20:17:30 +02:00
parent d97343e4ca
commit 4811d765bf
2 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,6 @@ const defaultInitialValues = {
sell_account_id: '',
inventory_account_id: '',
category_id: '',
note: '',
sellable: 1,
purchasable: true,
};
@@ -232,7 +231,7 @@ function ItemForm({
{({ isSubmitting, handleSubmit }) => (
<Form>
<div class={classNames(CLASSES.PAGE_FORM_BODY)}>
<ItemFormPrimarySection itemType={itemDetail?.type}/>
<ItemFormPrimarySection itemType={itemDetail?.type} />
<ItemFormBody />
<ItemFormInventorySection />
</div>