-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c48fab
commit ea169b5
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
8 changes: 2 additions & 6 deletions
8
...sm-cervical-cancer-app/src/cervical-cancer/cacx-visits/cacx-visits-services.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
import React from 'react'; | ||
import { useConfig } from '@openmrs/esm-framework'; | ||
import { getMenuItemTabConfiguration, TabsComponent } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import { TabsComponent } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import cacxConfigSchema from './cacx-config.json'; | ||
|
||
interface OverviewListProps { | ||
patientUuid: string; | ||
} | ||
|
||
const CaCxCervicalCancerServices: React.FC<OverviewListProps> = ({ patientUuid }) => { | ||
const config = useConfig(); | ||
const tabs = getMenuItemTabConfiguration(cacxConfigSchema, config); | ||
|
||
return <TabsComponent patientUuid={patientUuid} tabsConfig={tabs} />; | ||
return <TabsComponent patientUuid={patientUuid} configSchema={cacxConfigSchema} />; | ||
}; | ||
|
||
export default CaCxCervicalCancerServices; |
14 changes: 9 additions & 5 deletions
14
...counter-tabs/encounter-tabs.component.tsx → ...st-tabs/encounter-list-tabs.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters