Skip to content

Commit

Permalink
Merge pull request ohcnetwork#2 from coronasafe/develop
Browse files Browse the repository at this point in the history
fix consultation redirect (ohcnetwork#5535)
  • Loading branch information
JahnabDutta authored May 26, 2023
2 parents c348b50 + 34712a6 commit b1fea78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export const ConsultationForm = (props: any) => {
if (data.suggestion === "R") {
navigate(`/facility/${facilityId}/patient/${patientId}/shift/new`);
return;
} else if (!id) {
} else if (!id && data.suggestion === "A") {
navigate(
`/facility/${facilityId}/patient/${patientId}/consultation/${res.data.id}/prescriptions`
);
Expand Down

0 comments on commit b1fea78

Please sign in to comment.