diff --git a/src/app.config.ts b/src/app.config.ts index 56d83a8..34a4e5d 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -46,14 +46,14 @@ const generatePopupPath = (routeName: any, type: string) => { if (routeName.includes("organizationChart")) { return `${path}/chapter-1-user${type}-organization-chart`; } - if (routeName.includes("registry")) { + if (routeName.includes("registry") || routeName.includes("request-edit")) { return `${path}/chapter-2-user${type}-registry`; } if (routeName.includes("evaluate")) { return `${path}/chapter-3-user-evaluate`; } - if (routeName.includes("leave")) { + if (routeName.includes("leave") || routeName.includes("addAbsence")) { return `${path}/chapter-${type ? "3" : "4"}-user${type}-leave`; } @@ -79,7 +79,7 @@ const generatePopupPath = (routeName: any, type: string) => { return `${path}/chapter-14-user-service-testing`; } if (routeName.includes("Retire")) { - return `${path}/chapter-${type ? "5" : "11"}-user${type}-retire`; + return `${path}/chapter-${type ? "6" : "12"}-user${type}-retire`; } else { return manualConfig[routeName as keyof typeof manualConfig]; } @@ -93,6 +93,8 @@ const manualConfig = { addPortfolio: `${path}/chapter-5-user-portfolio`, addTransfer: `${path}/chapter-6-user-transfer`, KPIMain: `${path}/chapter-8-user-KPI`, + KPIAdd: `${path}/chapter-8-user-KPI`, + KPIEdit: `${path}/chapter-8-user-KPI`, KPIMainEvaluator: `${path}/chapter-9-user-KPI-evaluator`, };