Skip to content

Commit

Permalink
fixed rounds type
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Aug 1, 2024
1 parent 0b4729f commit 8737454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export const DailyRounds = (props: any) => {
form={SCRIBE_FORMS.daily_round}
onFormUpdate={async (fields) => {
// Symptoms
let rounds_type = state.form.rounds_type;
let rounds_type = fields.rounds_type || state.form.rounds_type;
if (fields.additional_symptoms) {
for (const symptom of fields.additional_symptoms) {
const { res } = await request(SymptomsApi.add, {
Expand Down

0 comments on commit 8737454

Please sign in to comment.