Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add slug column
dominik-zeglenc3a8b54c3a85
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsxindex eaa5a8c754..2ff9ec4341 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx@@ -32,6 +32,10 @@ import {const styles = (theme: Theme) =>createStyles({+ colName: {},+ colSlug: {+ width: 300+ },iconCell: {"&:last-child": {paddingRight: 0@@ -102,7 +106,10 @@ const ProductTypeAttributes = withStyles(styles, {toggleAll={toggleAll}toolbar={toolbar}>- <TableCell>{i18n.t("Attribute name")}</TableCell>+ <TableCell className={classes.colName}>+ {i18n.t("Attribute name")}+ </TableCell>+ <TableCell className={classes.colName}>{i18n.t("Slug")}</TableCell><TableCell /></TableHead><SortableTableBody onSortEnd={onAttributeReorder}>@@ -131,13 +138,20 @@ const ProductTypeAttributes = withStyles(styles, {onChange={() => toggle(attribute.id)}/></TableCell>- <TableCell>+ <TableCell className={classes.colName}>{maybe(() => attribute.name) ? (attribute.name) : (<Skeleton />)}</TableCell>+ <TableCell className={classes.colSlug}>+ {maybe(() => attribute.slug) ? (+ attribute.slug+ ) : (+ <Skeleton />+ )}+ </TableCell><TableCell className={classes.iconCell}><IconButtononClick={stopPropagation(() =>