Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyjemutai committed Jan 24, 2024
1 parent f6bb9e7 commit 2b192d1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/esm-tb-app/src/dashboard.meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-tb-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
18 changes: 9 additions & 9 deletions packages/esm-tb-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 2b192d1

Please sign in to comment.