diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index de55bc67fff..e66e0c1a86e 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -2942,6 +2942,10 @@ "J4E+jp": { "string": "Variant name" }, + "J4NBVR": { + "context": "link", + "string": "View Orders" + }, "J7mFhU": { "context": "currency code select", "string": "{code} - {countries}" diff --git a/src/orders/components/OrderCustomer/OrderCustomer.tsx b/src/orders/components/OrderCustomer/OrderCustomer.tsx index 41ab1d5860c..612710395be 100644 --- a/src/orders/components/OrderCustomer/OrderCustomer.tsx +++ b/src/orders/components/OrderCustomer/OrderCustomer.tsx @@ -18,6 +18,7 @@ import { } from "@dashboard/graphql"; import useStateFromProps from "@dashboard/hooks/useStateFromProps"; import { buttonMessages } from "@dashboard/intl"; +import { orderListUrl } from "@dashboard/orders/urls"; import { FetchMoreProps, RelayToFlat } from "@dashboard/types"; import createSingleAutocompleteSelectHandler from "@dashboard/utils/handlers/singleAutocompleteSelectChangeHandler"; import { Card, CardContent, Typography } from "@material-ui/core"; @@ -168,7 +169,23 @@ const OrderCustomer: React.FC = props => { ) : ( - {userEmail} + <> + {userEmail} +
+ + + +
+ ) ) : ( <>