Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove product condition
Krzysztof Bialoglowiczbc41f623cb06
diff --git a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsxindex b75f3c942d..496805475c 100644--- a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx@@ -98,7 +98,7 @@ export const ProductList = withStyles(styles, { name: "ProductList" })(product => (<TableRow key={product ? product.id : "skeleton"}><TableCellAvatar- thumbnail={product && maybe(() => product.thumbnail.url)}+ thumbnail={maybe(() => product.thumbnail.url)}/><TableCell className={classes.textLeft}>{product ? (diff --git a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx b/saleor/static/dashboard-next/components/ProductList/ProductList.tsxindex 8d8f36cfd9..20f6a67a6a 100644--- a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/components/ProductList/ProductList.tsx@@ -168,8 +168,7 @@ export const ProductList = withStyles(styles, { name: "ProductList" })()}</TableCell><TableCell className={classes.colPrice}>- {product &&- maybe(() => product.basePrice) &&+ {maybe(() => product.basePrice) &&maybe(() => product.basePrice.amount) !== undefined &&maybe(() => product.basePrice.currency) !== undefined ? (<Money money={product.basePrice} />diff --git a/saleor/static/dashboard-next/products/mutations.ts b/saleor/static/dashboard-next/products/mutations.tsindex b214718419..b8845d331e 100644--- a/saleor/static/dashboard-next/products/mutations.ts+++ b/saleor/static/dashboard-next/products/mutations.ts@@ -136,7 +136,7 @@ export const productUpdateMutation = gql`descriptionJson: $descriptionJsonisPublished: $isPublishedname: $name- price: $basePrice+ basePrice: $basePrice}) {errors {