Skip to content

Commit

Permalink
redirect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Jun 19, 2024
1 parent d857e2d commit 1313ba1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,11 @@ export const DailyRounds = (props: any) => {
Notification.Success({
msg: `${obj.rounds_type === "VENTILATOR" ? "Critical Care" : capitalize(obj.rounds_type)} log update details updated successfully`,
});
if (["NORMAL", "TELEMEDICINE"].includes(state.form.rounds_type)) {
if (
["NORMAL", "TELEMEDICINE", "DOCTORS_LOG"].includes(
state.form.rounds_type,
)
) {
navigate(
`/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}`,
);
Expand Down

0 comments on commit 1313ba1

Please sign in to comment.