Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update avatar component
dominik-zeglenfd72add984de
diff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsxindex 9e7a88afc6..b1ef979f27 100644--- a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx@@ -1,4 +1,3 @@-import Avatar from "@material-ui/core/Avatar";import Button from "@material-ui/core/Button";import Dialog from "@material-ui/core/Dialog";import DialogActions from "@material-ui/core/DialogActions";@@ -13,6 +12,7 @@ import TableRow from "@material-ui/core/TableRow";import * as React from "react";import Form from "../../../components/Form";+import TableCellAvatar from "../../../components/TableCellAvatar";import i18n from "../../../i18n";import { maybe } from "../../../misc";@@ -99,9 +99,7 @@ const OrderFulfillmentDialog = decorate<OrderFulfillmentDialogProps>(product.quantity - product.quantityFulfilled;return (<TableRow key={product.id}>- <TableCell className={classes.avatarCell}>- <Avatar src={product.thumbnailUrl} />- </TableCell>+ <TableCellAvatar thumbnail={product.thumbnailUrl} /><TableCell>{product.productName}</TableCell><TableCell>{product.productSku}</TableCell><TableCell className={classes.textRight}>