Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move taxes select to wider column
Krzysztof Bialoglowicz6f7d6c751e0e
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsxindex 95a3fe90d2..43c7172ccc 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx@@ -82,19 +82,19 @@ const ProductTypeCreatePage: React.StatelessComponent<disabled={disabled}onChange={change}/>- </div>- <div>- <ProductTypeShipping+ <CardSpacer />+ <ProductTypeTaxesdisabled={disabled}data={data}- defaultWeightUnit={defaultWeightUnit}+ taxTypes={taxTypes}onChange={change}/>- <CardSpacer />- <ProductTypeTaxes+ </div>+ <div>+ <ProductTypeShippingdisabled={disabled}data={data}- taxTypes={taxTypes}+ defaultWeightUnit={defaultWeightUnit}onChange={change}/></div>diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsxindex 53d1764153..6cdd24f904 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx@@ -131,6 +131,15 @@ const ProductTypeDetailsPage: React.StatelessComponent<onChange={change}/><CardSpacer />+ <ProductTypeTaxes+ disabled={disabled}+ data={data}+ taxTypes={maybe(() => taxTypes, [+ { description: "", taxCode: "" }+ ])}+ onChange={change}+ />+ <CardSpacer /><ProductTypeAttributesattributes={maybe(() => productType.productAttributes)}type={AttributeTypeEnum.PRODUCT}@@ -166,15 +175,6 @@ const ProductTypeDetailsPage: React.StatelessComponent<defaultWeightUnit={defaultWeightUnit}onChange={change}/>- <CardSpacer />- <ProductTypeTaxes- disabled={disabled}- data={data}- taxTypes={maybe(() => taxTypes, [- { description: "", taxCode: "" }- ])}- onChange={change}- /></div></Grid><SaveButtonBar