popular-magentaP
Refine3y ago
12 replies
popular-magenta

Add new menu item without affect the current menu item

I have this in my app.js
<Refine dataProvider={dataProvider(supabaseClient)}
routerProvider={routerBindings}
resources={[{name: "users",
list: "/users", }, {name: "canvases",
list: "/canvases",
}, { name: "patient",
list: "/patient",
show: "/patient/show/:id",
create: "/patient/create",
meta: { label: "Patients" }, }]}>

I want to add a new menu item for create: "/patient/create" separately without affecting the current { name: "patient",
list: "/patient",
show: "/patient/show/:id",
create: "/patient/create",
meta: { label: "Patients" }, }
Was this page helpful?