feat(dashboard): Return Reasons domain (#6640)
**What** - Adds Return Reason domain.
This commit is contained in:
committed by
GitHub
parent
fb25471e92
commit
b8bedb84cf
@@ -494,6 +494,34 @@ const router = createBrowserRouter([
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "return-reasons",
|
||||
element: <Outlet />,
|
||||
handle: {
|
||||
crumb: () => "Return Reasons",
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
lazy: () =>
|
||||
import("../../routes/return-reasons/return-reason-list"),
|
||||
children: [
|
||||
{
|
||||
path: "create",
|
||||
lazy: () =>
|
||||
import(
|
||||
"../../routes/return-reasons/return-reason-create"
|
||||
),
|
||||
},
|
||||
{
|
||||
path: ":id/edit",
|
||||
lazy: () =>
|
||||
import("../../routes/return-reasons/return-reason-edit"),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "regions",
|
||||
element: <Outlet />,
|
||||
|
||||
Reference in New Issue
Block a user