Switch to use modal processes

This commit is contained in:
2022-10-07 09:48:44 -05:00
parent 0182db5f02
commit 60d440db09
9 changed files with 474 additions and 132 deletions

View File

@ -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,