Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
konavivekramakrishna committed Dec 22, 2023
1 parent bd417fc commit 67496cc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const ConsultationDetails = (props: any) => {
useAbortableEffect((status: statusType) => {
fetchData(status);
triggerGoal("Patient Consultation Viewed", {
facilityId: consultationData.facility,
facilityId: facilityId,
consultationId: consultationId,
userId: authUser.id,
});
Expand Down Expand Up @@ -258,10 +258,8 @@ export const ConsultationDetails = (props: any) => {
title="Patient Dashboard"
className="sm:m-0 sm:p-0"
crumbsReplacements={{
[consultationData.facility || ""]: {
name: consultationData.facility_name,
},
[patientData?.id || ""]: { name: patientData?.name },
[facilityId]: { name: patientData?.facility_object?.name },
[patientId]: { name: patientData?.name },
[consultationId]: {
name:
consultationData.suggestion === "A"
Expand Down

0 comments on commit 67496cc

Please sign in to comment.