feat(dashboard): variant details page (#7767)

* wip: setup

* feat: finish inventory, prices section

* feat: finish prices section pagination

* fix: move edit variants to variants details, fix loader

* fix: suggestion

* feat: price editor flow
This commit is contained in:
Frane Polić
2024-06-19 13:56:35 +02:00
committed by GitHub
parent fd87858bd9
commit ef5719a3d8
24 changed files with 524 additions and 11 deletions

View File

@@ -110,10 +110,25 @@ export const RouteMap: RouteObject[] = [
lazy: () =>
import("../../routes/products/product-create-variant"),
},
],
},
{
path: ":id/variants/:variant_id",
lazy: () =>
import(
"../../routes/product-variants/product-variant-detail"
),
children: [
{
path: "variants/:variant_id/edit",
path: "edit",
lazy: () =>
import("../../routes/products/product-edit-variant"),
import(
"../../routes/product-variants/product-variant-edit"
),
},
{
path: "prices",
lazy: () => import("../../routes/products/product-prices"),
},
],
},