mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Switch to use modal processes
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@ -269,13 +269,21 @@ export default function App()
|
||||
name: process.label,
|
||||
key: process.name,
|
||||
route: `${path}/${process.name}`,
|
||||
component: <ProcessRun process={process} />,
|
||||
component: <EntityList table={table} launchProcess={process} />,
|
||||
});
|
||||
|
||||
routeList.push({
|
||||
name: process.label,
|
||||
key: `${app.name}/${process.name}`,
|
||||
route: `${path}/:id/${process.name}`,
|
||||
component: <EntityView table={table} launchProcess={process} />,
|
||||
});
|
||||
});
|
||||
|
||||
const reportsForTable = QProcessUtils.getReportsForTable(metaData, table.name, true);
|
||||
reportsForTable.forEach((report) =>
|
||||
{
|
||||
// todo - do we need some table/report routes here, that would go to EntityList and/or EntityView
|
||||
routeList.push({
|
||||
name: report.label,
|
||||
key: report.name,
|
||||
|
Reference in New Issue
Block a user