Skip to content

Commit

Permalink
fix consultation redirect (ohcnetwork#5535)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored May 26, 2023
1 parent 49b4334 commit 34712a6
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 34712a6

Please sign in to comment.