Skip to content

Commit

Permalink
POC-634: Wrong Dispay of HIV Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed Feb 15, 2024
1 parent 53b8675 commit 4c63729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class PatientRoutesFactory {
patientRoutesConfig = this.processSharedRoutes(patientRoutesConfig);

const routes: RouteModel[] = [];
if (Moment().diff(Moment(patient.person.birthdate), 'months') <= 18) {
if (patient.enrolledPrograms[26].isEnrolled) {
patientRoutesConfig.sharedRoutes.hiv[3] = {
url: 'hiv-summary',
label: 'HEI Summary',
Expand Down

0 comments on commit 4c63729

Please sign in to comment.