Skip to content

Commit

Permalink
fix: fix start a visit workspace title not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
usamaidrsk committed Jan 8, 2025
1 parent 5b806ce commit 69b4dc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/esm-patient-chart-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { esmPatientChartSchema } from './config-schema';
import genericDashboardComponent, { genericDashboardConfigSchema } from './side-nav/generic-dashboard.component';
import genericNavGroupComponent, { genericNavGroupConfigSchema } from './side-nav/generic-nav-group.component';
import { moduleName } from './constants';
import { setupOfflineVisitsSync, setupCacheableRoutes } from './offline';
import { summaryDashboardMeta, encountersDashboardMeta } from './dashboard.meta';
import { setupCacheableRoutes, setupOfflineVisitsSync } from './offline';
import { encountersDashboardMeta, summaryDashboardMeta } from './dashboard.meta';
import addPastVisitActionButtonComponent from './actions-buttons/add-past-visit.component';
import cancelVisitActionButtonComponent from './actions-buttons/cancel-visit.component';
import currentVisitSummaryComponent from './visit/visits-widget/current-visit-summary.component';
Expand Down Expand Up @@ -159,6 +159,7 @@ export const genericDashboard = getSyncLifecycle(genericDashboardComponent, {
moduleName,
});

// t('startAVisit', 'Start a visit')
export const startVisitForm = getSyncLifecycle(startVisitFormComponent, {
featureName: 'start-visit-form',
moduleName,
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-patient-chart-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"slot": "start-visit-workspace-form-slot",
"component": "startVisitForm",
"meta": {
"title": "Start a visit"
"title": "startVisit"
},
"online": true,
"offline": true
Expand Down

0 comments on commit 69b4dc1

Please sign in to comment.