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 10f60eb commit f6bb9e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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 @@ -52,8 +52,8 @@ export const tbCasesDashboardMeta = {
title: 'TB Treatment',
};

export const tptCasesDashboardMeta = {
name: 'tb-prevention-cases',
export const tbPreventionDashboardMeta = {
name: 'tpt-prevention-cases',
slot: 'tpt-cases-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 @@ -12,7 +12,7 @@ import {
tptProgramManagementDashboardMeta,
tptPatientChartMeta,
tptPatientSummaryMeta,
tptCasesDashboardMeta,
tbPreventionDashboardMeta,
} from './dashboard.meta';
import { configSchema } from './config-schema';
import TBSummaryOverviewList from './views/patient-summary/tb-patient-summary.component';
Expand Down Expand Up @@ -134,7 +134,7 @@ export const tbCasesDashboard = getSyncLifecycle(OHRIHome, {
featureName: 'tb cases dashboard',
moduleName,
});
export const tptCasesDashboardLink = getSyncLifecycle(createOHRIDashboardLink(tptCasesDashboardMeta), options);
export const tptCasesDashboardLink = getSyncLifecycle(createOHRIDashboardLink(tbPreventionDashboardMeta), options);
export const tptCasesDashboard = getSyncLifecycle(OHRIHome, {
featureName: 'tpt cases dashboard',
moduleName,
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-tb-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"slot": "tb-clinical-dashboard-slot",
"component": "tptCasesDashboardLink",
"meta": {
"name": "tb-prevention-cases",
"name": "tpt-prevention-cases",
"slot": "tpt-cases-dashboard-slot",
"config": {
"columns": 1,
Expand All @@ -219,7 +219,7 @@
"slot": "tpt-cases-dashboard-slot",
"component": "tbCasesDashboard",
"meta": {
"name": "tb-prevention-cases",
"name": "tpt-prevention-cases",
"slot": "tpt-cases-dashboard-slot",
"config": {
"columns": 1,
Expand Down

0 comments on commit f6bb9e7

Please sign in to comment.