Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use fixed colSpan
dominik-zeglen0970f95bd3ed
diff --git a/saleor/static/dashboard-next/attributes/components/AttributeList/AttributeList.tsx b/saleor/static/dashboard-next/attributes/components/AttributeList/AttributeList.tsxindex e764e9a637..3a0e2ace8e 100644--- a/saleor/static/dashboard-next/attributes/components/AttributeList/AttributeList.tsx+++ b/saleor/static/dashboard-next/attributes/components/AttributeList/AttributeList.tsx@@ -55,6 +55,8 @@ const useStyles = makeStyles((theme: Theme) => ({}}));+const numberOfColumns = 6;+const AttributeList: React.StatelessComponent<AttributeListProps> = ({attributes,disabled,@@ -73,6 +75,7 @@ const AttributeList: React.StatelessComponent<AttributeListProps> = ({return (<Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={attributes}@@ -102,7 +105,7 @@ const AttributeList: React.StatelessComponent<AttributeListProps> = ({<TableFooter><TableRow><TablePagination- colSpan={6}+ colSpan={numberOfColumns}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}hasPreviousPage={@@ -165,7 +168,9 @@ const AttributeList: React.StatelessComponent<AttributeListProps> = ({},() => (<TableRow>- <TableCell colSpan={3}>{i18n.t("No attributes found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No attributes found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx b/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsxindex e89b6c7994..c4d11a78d8 100644--- a/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx@@ -67,6 +67,8 @@ interface CategoryListPropsonAdd?();}+const numberOfColumns = 4;+const CategoryList = withStyles(styles, { name: "CategoryList" })(({categories,@@ -99,6 +101,7 @@ const CategoryList = withStyles(styles, { name: "CategoryList" })()}<Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={categories}@@ -118,7 +121,7 @@ const CategoryList = withStyles(styles, { name: "CategoryList" })(<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -177,7 +180,7 @@ const CategoryList = withStyles(styles, { name: "CategoryList" })(},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{isRoot? i18n.t("No categories found"): i18n.t("No subcategories found")}diff --git a/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx b/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsxindex d0394b5932..9e647beced 100644--- a/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx@@ -50,6 +50,8 @@ interface CollectionListPropscollections: CollectionList_collections_edges_node[];}+const numberOfColumns = 5;+const CollectionList = withStyles(styles, { name: "CollectionList" })(({classes,@@ -70,6 +72,7 @@ const CollectionList = withStyles(styles, { name: "CollectionList" })(<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={collections}@@ -91,7 +94,7 @@ const CollectionList = withStyles(styles, { name: "CollectionList" })(<TableFooter><TableRow><TablePagination- colSpan={5}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -155,7 +158,7 @@ const CollectionList = withStyles(styles, { name: "CollectionList" })(},() => (<TableRow>- <TableCell colSpan={3}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No collections found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx b/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsxindex a74e9539eb..8aff1808ff 100644--- a/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx@@ -110,6 +110,7 @@ const CollectionProducts = withStyles(styles, { name: "CollectionProducts" })(/><Table className={classes.table}><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={maybe(() => collection.products.edges.map(edge => edge.node))}diff --git a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx b/saleor/static/dashboard-next/components/ProductList/ProductList.tsxindex e5238ed76e..c2c6898a88 100644--- a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/components/ProductList/ProductList.tsx@@ -108,6 +108,7 @@ export const ProductList = withStyles(styles, { name: "ProductList" })(<div className={classes.tableContainer}><Table className={classes.table}><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={products}diff --git a/saleor/static/dashboard-next/components/TableHead/TableHead.tsx b/saleor/static/dashboard-next/components/TableHead/TableHead.tsxindex 6698d669b9..d82f71d92e 100644--- a/saleor/static/dashboard-next/components/TableHead/TableHead.tsx+++ b/saleor/static/dashboard-next/components/TableHead/TableHead.tsx@@ -20,6 +20,7 @@ import i18n from "../../i18n";import Checkbox from "../Checkbox";export interface TableHeadProps extends MuiTableHeadProps {+ colSpan: number;disabled: boolean;dragRows?: boolean;selected: number;@@ -81,6 +82,7 @@ const TableHead = withStyles(styles, {({classes,children,+ colSpan,disabled,dragRows,items,@@ -120,7 +122,10 @@ const TableHead = withStyles(styles, {)}{selected ? (<>- <TableCell className={classNames(classes.root)} colSpan={50}>+ <TableCell+ className={classNames(classes.root)}+ colSpan={colSpan - 1}+ ><div className={classes.container}>{selected && (<Typography>diff --git a/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx b/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsxindex cdde7640ba..6bdef683fe 100644--- a/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx@@ -47,6 +47,8 @@ export interface CustomerListPropscustomers: ListCustomers_customers_edges_node[];}+const numberOfColumns = 4;+const CustomerList = withStyles(styles, { name: "CustomerList" })(({classes,@@ -67,6 +69,7 @@ const CustomerList = withStyles(styles, { name: "CustomerList" })(<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={customers}@@ -86,7 +89,7 @@ const CustomerList = withStyles(styles, { name: "CustomerList" })(<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -136,7 +139,7 @@ const CustomerList = withStyles(styles, { name: "CustomerList" })(},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No customers found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsxindex 4707db8953..606b256937 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx@@ -50,6 +50,9 @@ const styles = (theme: Theme) =>width: "60%"}});++const numberOfColumns = 4;+const DiscountCategories = withStyles(styles, {name: "DiscountCategories"})(@@ -80,6 +83,7 @@ const DiscountCategories = withStyles(styles, {/><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={maybe(() => sale.categories.edges.map(edge => edge.node))}@@ -99,7 +103,7 @@ const DiscountCategories = withStyles(styles, {<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}hasPreviousPage={@@ -155,7 +159,7 @@ const DiscountCategories = withStyles(styles, {},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No categories found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsxindex 99c61386c3..fe897e1c16 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx@@ -50,6 +50,9 @@ const styles = (theme: Theme) =>width: "60%"}});++const numberOfColumns = 4;+const DiscountCollections = withStyles(styles, {name: "DiscountCollections"})(@@ -80,6 +83,7 @@ const DiscountCollections = withStyles(styles, {/><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={maybe(() => sale.collections.edges.map(edge => edge.node))}@@ -97,7 +101,7 @@ const DiscountCollections = withStyles(styles, {<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}hasPreviousPage={@@ -155,7 +159,7 @@ const DiscountCollections = withStyles(styles, {},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No collections found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsxindex badc4223ac..85d4ce93a0 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx@@ -96,6 +96,7 @@ const DiscountProducts = withStyles(styles, {/><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={maybe(() => sale.products.edges.map(edge => edge.node))}diff --git a/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx b/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsxindex 39efbc4955..37a1c75934 100644--- a/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx@@ -59,6 +59,8 @@ const styles = (theme: Theme) =>}});+const numberOfColumns = 5;+const SaleList = withStyles(styles, {name: "SaleList"})(@@ -82,6 +84,7 @@ const SaleList = withStyles(styles, {<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={sales}@@ -112,7 +115,7 @@ const SaleList = withStyles(styles, {<TableFooter><TableRow><TablePagination- colSpan={5}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -188,7 +191,9 @@ const SaleList = withStyles(styles, {},() => (<TableRow>- <TableCell colSpan={5}>{i18n.t("No sales found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No sales found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx b/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsxindex af20b6eb95..9b836bbac9 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx@@ -74,6 +74,8 @@ const styles = (theme: Theme) =>}});+const numberOfColumns = 7;+const VoucherList = withStyles(styles, {name: "VoucherList"})(@@ -97,6 +99,7 @@ const VoucherList = withStyles(styles, {<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={vouchers}@@ -137,7 +140,7 @@ const VoucherList = withStyles(styles, {<TableFooter><TableRow><TablePagination- colSpan={7}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -234,7 +237,9 @@ const VoucherList = withStyles(styles, {},() => (<TableRow>- <TableCell colSpan={7}>{i18n.t("No vouchers found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No vouchers found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx b/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsxindex 350c5cb5fe..79b387d498 100644--- a/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx@@ -44,6 +44,9 @@ const styles = (theme: Theme) =>cursor: "pointer"}});++const numberOfColumns = 4;+const MenuList = withStyles(styles, { name: "MenuList" })(({classes,@@ -65,6 +68,7 @@ const MenuList = withStyles(styles, { name: "MenuList" })(<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={menus}@@ -81,7 +85,7 @@ const MenuList = withStyles(styles, { name: "MenuList" })(<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -134,7 +138,9 @@ const MenuList = withStyles(styles, { name: "MenuList" })(},() => (<TableRow>- <TableCell colSpan={4}>{i18n.t("No menus found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No menus found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsxindex e384a946cc..29d958fc43 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx@@ -59,6 +59,8 @@ interface OrderDraftListPropsorders: OrderDraftList_draftOrders_edges_node[];}+const numberOfColumns = 5;+export const OrderDraftList = withStyles(styles, { name: "OrderDraftList" })(({classes,@@ -86,6 +88,7 @@ export const OrderDraftList = withStyles(styles, { name: "OrderDraftList" })(return (<Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={orders}@@ -108,7 +111,7 @@ export const OrderDraftList = withStyles(styles, { name: "OrderDraftList" })(<TableFooter><TableRow><TablePagination- colSpan={5}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -180,7 +183,9 @@ export const OrderDraftList = withStyles(styles, { name: "OrderDraftList" })(},() => (<TableRow>- <TableCell colSpan={5}>{i18n.t("No orders found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No orders found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx b/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsxindex 8ed5bda21a..e1685d1df0 100644--- a/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx@@ -66,6 +66,8 @@ interface OrderListPropsorders: OrderList_orders_edges_node[];}+const numberOfColumns = 7;+export const OrderList = withStyles(styles, { name: "OrderList" })(({classes,@@ -93,6 +95,7 @@ export const OrderList = withStyles(styles, { name: "OrderList" })(return (<Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={orders}@@ -121,7 +124,7 @@ export const OrderList = withStyles(styles, { name: "OrderList" })(<TableFooter><TableRow><TablePagination- colSpan={7}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -215,7 +218,9 @@ export const OrderList = withStyles(styles, { name: "OrderList" })(},() => (<TableRow>- <TableCell colSpan={7}>{i18n.t("No orders found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No orders found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsxindex 6c8dbee457..eca265c995 100644--- a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx+++ b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx@@ -44,6 +44,9 @@ const styles = (theme: Theme) =>cursor: "pointer"}});++const numberOfColumns = 4;+const PageList = withStyles(styles, { name: "PageList" })(({classes,@@ -64,6 +67,7 @@ const PageList = withStyles(styles, { name: "PageList" })(<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={pages}@@ -83,7 +87,7 @@ const PageList = withStyles(styles, { name: "PageList" })(<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}settings={settings}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}@@ -142,7 +146,9 @@ const PageList = withStyles(styles, { name: "PageList" })(},() => (<TableRow>- <TableCell colSpan={4}>{i18n.t("No pages found")}</TableCell>+ <TableCell colSpan={numberOfColumns}>+ {i18n.t("No pages found")}+ </TableCell></TableRow>))}diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsxindex 2ff9ec4341..423e7a472a 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx@@ -62,6 +62,8 @@ interface ProductTypeAttributesProps extends ListActions {onAttributeUnassign: (id: string) => void;}+const numberOfColumns = 5;+const ProductTypeAttributes = withStyles(styles, {name: "ProductTypeAttributes"})(@@ -99,6 +101,7 @@ const ProductTypeAttributes = withStyles(styles, {/><Table><TableHead+ colSpan={numberOfColumns}disabled={disabled}dragRowsselected={selected}@@ -166,7 +169,7 @@ const ProductTypeAttributes = withStyles(styles, {},() => (<TableRow>- <TableCell colSpan={2}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No attributes found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsxindex 1b86a03483..5cad3c83af 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx@@ -48,6 +48,8 @@ interface ProductTypeListPropsproductTypes: ProductTypeList_productTypes_edges_node[];}+const numberOfColumns = 4;+const ProductTypeList = withStyles(styles, { name: "ProductTypeList" })(({classes,@@ -66,6 +68,7 @@ const ProductTypeList = withStyles(styles, { name: "ProductTypeList" })(<Card><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={productTypes}@@ -85,7 +88,7 @@ const ProductTypeList = withStyles(styles, { name: "ProductTypeList" })(<TableFooter><TableRow><TablePagination- colSpan={4}+ colSpan={numberOfColumns}hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}onNextPage={onNextPage}hasPreviousPage={@@ -159,7 +162,7 @@ const ProductTypeList = withStyles(styles, { name: "ProductTypeList" })(},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No product types found")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsxindex 5e7acbe775..3a0d9fde06 100644--- a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx@@ -72,6 +72,8 @@ interface ProductVariantsProps extends ListActions, WithStyles<typeof styles> {onVariantAdd?();}+const numberOfColumns = 5;+export const ProductVariants = withStyles(styles, { name: "ProductVariants" })(({classes,@@ -110,6 +112,7 @@ export const ProductVariants = withStyles(styles, { name: "ProductVariants" })(</CardContent><Table className={classes.denseTable}><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={variants}@@ -188,7 +191,7 @@ export const ProductVariants = withStyles(styles, { name: "ProductVariants" })(},() => (<TableRow>- <TableCell colSpan={2}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("This product has no variants")}</TableCell></TableRow>diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsxindex bc69e169ff..bd82514823 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx@@ -50,6 +50,9 @@ const styles = (theme: Theme) =>cursor: "pointer"}});++const numberOfColumns = 4;+const ShippingZonesList = withStyles(styles, { name: "ShippingZonesList" })(({classes,@@ -83,6 +86,7 @@ const ShippingZonesList = withStyles(styles, { name: "ShippingZonesList" })(/><Table><TableHead+ colSpan={numberOfColumns}selected={selected}disabled={disabled}items={shippingZones}@@ -95,6 +99,7 @@ const ShippingZonesList = withStyles(styles, { name: "ShippingZonesList" })(<TableCell className={classes.colCountries}>{i18n.t("Countries", { context: "object" })}</TableCell>+ <TableCell /></TableHead><TableFooter><TableRow>@@ -163,7 +168,7 @@ const ShippingZonesList = withStyles(styles, { name: "ShippingZonesList" })(},() => (<TableRow>- <TableCell colSpan={4}>+ <TableCell colSpan={numberOfColumns}>{i18n.t("No shipping zones found")}</TableCell></TableRow>