Skip to content

Commit

Permalink
Fix disabled state for Submit button in DailyRounds component
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Dec 26, 2023
1 parent 1557230 commit 76bb22a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ export const DailyRounds = (props: any) => {
<Cancel onClick={() => goBack()} />
<Submit
disabled={
buttonText === "Save" &&
state.form.clone_last !== null &&
!state.form.clone_last &&
formFields.every(
Expand Down

0 comments on commit 76bb22a

Please sign in to comment.