Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Stop using values
dominik-zeglenc0e2292bcaec
diff --git a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsxindex f9eaa841b1..42c40b2bf0 100644--- a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx+++ b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx@@ -138,8 +138,7 @@ export const ProductTypeUpdate: React.StatelessComponent<input: {name: data.name,values: data.values.map(value => ({- name: value.label,- value: value.label+ name: value.label}))},type@@ -169,8 +168,7 @@ export const ProductTypeUpdate: React.StatelessComponent<.includes(value.value)).map(value => ({- name: value.label,- value: value.value+ name: value.label})),name: formData.name,removeValues: attribute.valuesdiff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.tsindex 554d65faec..f8f75e26f6 100644--- a/saleor/static/dashboard-next/types/globalTypes.ts+++ b/saleor/static/dashboard-next/types/globalTypes.ts@@ -133,7 +133,7 @@ export interface AttributeCreateInput {export interface AttributeCreateValueInput {name: string;- value: string;+ value?: string | null;}export interface AttributeUpdateInput {