Skip to content

Commit

Permalink
Disable critical care submit if onle basic editor is filled
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 committed Dec 13, 2023
1 parent f992917 commit 99c20f7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ let make = (~id, ~facilityId, ~patientId, ~consultationId, ~dailyRound) => {
<button
onClick={_ =>
Notifications.success({msg: "Critical care log updates are filed successfully"})}
className="btn btn-primary w-full mt-6">
className="btn btn-primary w-full mt-6"
disabled={Js.Array.length(state.updatedEditors) === 0}
>
{str("Complete")}
</button>
</Link>
Expand Down

0 comments on commit 99c20f7

Please sign in to comment.