From 2b192d1f55f72e280f8bfee09bdf93770788b93d Mon Sep 17 00:00:00 2001 From: lucyjemutai <130601439+lucyjemutai@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:59:10 +0300 Subject: [PATCH] renaming --- packages/esm-tb-app/src/dashboard.meta.tsx | 4 ++-- packages/esm-tb-app/src/index.ts | 4 ++-- packages/esm-tb-app/src/routes.json | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/esm-tb-app/src/dashboard.meta.tsx b/packages/esm-tb-app/src/dashboard.meta.tsx index 2855991f9..97b834dfe 100644 --- a/packages/esm-tb-app/src/dashboard.meta.tsx +++ b/packages/esm-tb-app/src/dashboard.meta.tsx @@ -53,8 +53,8 @@ export const tbCasesDashboardMeta = { }; export const tbPreventionDashboardMeta = { - name: 'tpt-prevention-cases', - slot: 'tpt-cases-dashboard-slot', + name: 'tb-prevention', + slot: 'tb-prevention-dashboard-slot', config: { columns: 1, type: 'grid', programme: 'tpt', dashboardTitle: 'TB Prevention'}, title: 'TB Prevention', }; diff --git a/packages/esm-tb-app/src/index.ts b/packages/esm-tb-app/src/index.ts index 44efb972a..0845760dd 100644 --- a/packages/esm-tb-app/src/index.ts +++ b/packages/esm-tb-app/src/index.ts @@ -134,8 +134,8 @@ export const tbCasesDashboard = getSyncLifecycle(OHRIHome, { featureName: 'tb cases dashboard', moduleName, }); -export const tptCasesDashboardLink = getSyncLifecycle(createOHRIDashboardLink(tbPreventionDashboardMeta), options); -export const tptCasesDashboard = getSyncLifecycle(OHRIHome, { +export const tbPreventionDashboardLink = getSyncLifecycle(createOHRIDashboardLink(tbPreventionDashboardMeta), options); +export const tbPreventionDashboard = getSyncLifecycle(OHRIHome, { featureName: 'tpt cases dashboard', moduleName, }); diff --git a/packages/esm-tb-app/src/routes.json b/packages/esm-tb-app/src/routes.json index 032593b01..6477df2f6 100644 --- a/packages/esm-tb-app/src/routes.json +++ b/packages/esm-tb-app/src/routes.json @@ -199,12 +199,12 @@ "component": "tbDashboardTabs" }, { - "name": "tpt-cases-dashboard-ext", + "name": "tb-prevention-dashboard-ext", "slot": "tb-clinical-dashboard-slot", - "component": "tptCasesDashboardLink", + "component": "tbPreventionDashboardLink", "meta": { - "name": "tpt-prevention-cases", - "slot": "tpt-cases-dashboard-slot", + "name": "tb-prevention", + "slot": "tb-prevention-dashboard-slot", "config": { "columns": 1, "type": "grid", @@ -215,12 +215,12 @@ } }, { - "name": "tpt-cases-dashboard", - "slot": "tpt-cases-dashboard-slot", - "component": "tbCasesDashboard", + "name": "tb-prevention-dashboard", + "slot": "tb-prevention-dashboard-slot", + "component": "tbPreventionDashboard", "meta": { - "name": "tpt-prevention-cases", - "slot": "tpt-cases-dashboard-slot", + "name": "tb-prevention", + "slot": "tb-prevention-dashboard-slot", "config": { "columns": 1, "programme": "tpt",