Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update menu > orders icon

Mateusz Stanielewicz2b4fb4f92d05
diff --git a/saleor/static/dashboard-next/AppRoot.tsx b/saleor/static/dashboard-next/AppRoot.tsx
index eeaae4aec1..f429a972be 100644
--- a/saleor/static/dashboard-next/AppRoot.tsx
+++ b/saleor/static/dashboard-next/AppRoot.tsx
@@ -30,6 +30,7 @@ import i18n from "./i18n";
import ArrowDropdown from "./icons/ArrowDropdown";
import Home from "./icons/Home";
import Shop from "./icons/Shop";
+import Truck from "./icons/Truck";
import { removeDoubleSlashes } from "./misc";
import { productListUrl } from "./products";
@@ -64,7 +65,7 @@ const menuStructure = [
},
{
ariaLabel: "orders",
- icon: <Shop />,
+ icon: <Truck />,
label: i18n.t("Orders", { context: "Menu label" }),
url: "/orders/"
}
diff --git a/saleor/static/dashboard-next/icons/Truck.tsx b/saleor/static/dashboard-next/icons/Truck.tsx
new file mode 100644
index 0000000000..edfe088ed0
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/Truck.tsx
@@ -0,0 +1,10 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const Truck = createSvgIcon(
+ <>
+ <path d="M20 8.1355H17V4.1355H3C1.9 4.1355 1 5.0355 1 6.1355V17.1355H3C3 18.7955 4.34 20.1355 6 20.1355C7.66 20.1355 9 18.7955 9 17.1355H15C15 18.7955 16.34 20.1355 18 20.1355C19.66 20.1355 21 18.7955 21 17.1355H23V12.1355L20 8.1355ZM19.5 9.6355L21.46 12.1355H17V9.6355H19.5ZM6 18.1355C5.45 18.1355 5 17.6855 5 17.1355C5 16.5855 5.45 16.1355 6 16.1355C6.55 16.1355 7 16.5855 7 17.1355C7 17.6855 6.55 18.1355 6 18.1355ZM8.22 15.1355C7.67 14.5255 6.89 14.1355 6 14.1355C5.11 14.1355 4.33 14.5255 3.78 15.1355H3V6.1355H15V15.1355H8.22ZM18 18.1355C17.45 18.1355 17 17.6855 17 17.1355C17 16.5855 17.45 16.1355 18 16.1355C18.55 16.1355 19 16.5855 19 17.1355C19 17.6855 18.55 18.1355 18 18.1355Z" fill="#616161"/>
+ </>
+);
+Truck.displayName = "Truck";
+export default Truck;