Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix product type list
Krzysztof Bialoglowicz8a17c6a25d2e
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsxindex b95404c7c2..1b86a03483 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx@@ -18,7 +18,7 @@ import Skeleton from "@saleor/components/Skeleton";import TableHead from "@saleor/components/TableHead";import TablePagination from "@saleor/components/TablePagination";import i18n from "../../../i18n";-import { maybe, renderCollection, translatedTaxRates } from "../../../misc";+import { maybe, renderCollection } from "../../../misc";import { ListActions, ListProps } from "../../../types";import { ProductTypeList_productTypes_edges_node } from "../../types/ProductTypeList";@@ -148,8 +148,8 @@ const ProductTypeList = withStyles(styles, { name: "ProductTypeList" })()}</TableCell><TableCell className={classes.colTax}>- {maybe(() => productType.taxRate) ? (- translatedTaxRates()[productType.taxRate]+ {maybe(() => productType.taxType) ? (+ productType.taxType.description) : (<Skeleton />)}