-
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
5aa7058
commit 6e0a60a
Showing
8 changed files
with
44 additions
and
37 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
packages/esm-ptracker-report-app/app-menu-navigation.component.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export const ptrackerdashboardPath = `/openmrs/reportingui/reportsapp/home.page`; |
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
12 changes: 12 additions & 0 deletions
12
packages/esm-ptracker-report-app/src/ptracker-report-app-menu-link.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ConfigurableLink } from '@openmrs/esm-framework'; | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { ptrackerdashboardPath } from './constants'; | ||
|
||
const PtrackerDashboardNavigation = () => { | ||
const { t } = useTranslation(); | ||
|
||
return <ConfigurableLink to={ptrackerdashboardPath}>{t('ptrackerReports', 'Ptracker Reports')}</ConfigurableLink>; | ||
}; | ||
|
||
export default PtrackerDashboardNavigation; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "https://json.openmrs.org/routes.schema.json", | ||
"backendDependencies": { | ||
"fhir2": "^1.2.0", | ||
"webservices.rest": "^2.24.0" | ||
}, | ||
"pages": [ | ||
{ | ||
"component": "PtrackerReport", | ||
"route": "ptracker-report" | ||
} | ||
], | ||
"extensions": [ | ||
{ | ||
"name": "version-two-link", | ||
"slot": "app-menu-slot", | ||
"component": "versionTwoNavLink", | ||
"online": true, | ||
"offline": true | ||
} | ||
] | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["src/**/*"], | ||
"exclude": ["src/**/*.test.tsx", "src/**/*.outdated.tsx"] | ||
} |