mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Add Duplicate
This commit is contained in:
@ -308,7 +308,14 @@ export default function App()
|
|||||||
name: `${app.label}`,
|
name: `${app.label}`,
|
||||||
key: `${app.name}.edit`,
|
key: `${app.name}.edit`,
|
||||||
route: `${path}/:id/edit`,
|
route: `${path}/:id/edit`,
|
||||||
component: <EntityEdit table={table} />,
|
component: <EntityEdit table={table} isDuplicate={false} />,
|
||||||
|
});
|
||||||
|
|
||||||
|
routeList.push({
|
||||||
|
name: `${app.label}`,
|
||||||
|
key: `${app.name}.duplicate`,
|
||||||
|
route: `${path}/:id/duplicate`,
|
||||||
|
component: <EntityEdit table={table} isDuplicate={true} />,
|
||||||
});
|
});
|
||||||
|
|
||||||
routeList.push({
|
routeList.push({
|
||||||
|
Reference in New Issue
Block a user