fix(dashboard,medusa): Minor clean-up of admin v2 (#7257)

This commit is contained in:
Oli Juhl
2024-05-07 09:39:42 +02:00
committed by GitHub
parent 14d15df866
commit 8b61dccd0f
7 changed files with 21 additions and 26 deletions
@@ -87,10 +87,11 @@ const useCoreRoutes = (): Omit<NavItemProps, "pathname">[] => {
label: t("orders.domain"),
to: "/orders",
items: [
{
label: t("draftOrders.domain"),
to: "/draft-orders",
},
// TODO: Enable when domin is introduced
// {
// label: t("draftOrders.domain"),
// to: "/draft-orders",
// },
],
},
{
@@ -98,18 +99,20 @@ const useCoreRoutes = (): Omit<NavItemProps, "pathname">[] => {
label: t("products.domain"),
to: "/products",
items: [
{
label: t("collections.domain"),
to: "/collections",
},
// TODO: Enable when domin is introduced
// {
// label: t("collections.domain"),
// to: "/collections",
// },
{
label: t("categories.domain"),
to: "/categories",
},
{
label: t("giftCards.domain"),
to: "/gift-cards",
},
// TODO: Enable when domin is introduced
// {
// label: t("giftCards.domain"),
// to: "/gift-cards",
// },
],
},
{