Skip to content

Commit

Permalink
fix update log failing due to null sent to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Sep 18, 2024
1 parent 33748dd commit 0b75296
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,15 @@ export const DailyRounds = (props: any) => {
rhythm_detail: state.form.rhythm_detail,
ventilator_spo2: state.form.ventilator_spo2 ?? null,
consciousness_level: state.form.consciousness_level || undefined,
bowel_issue: state.form.bowel_issue,
bladder_drainage: state.form.bladder_drainage,
bladder_issue: state.form.bladder_issue,
bowel_issue: state.form.bowel_issue ?? undefined,
bladder_drainage: state.form.bladder_drainage ?? undefined,
bladder_issue: state.form.bladder_issue ?? undefined,
is_experiencing_dysuria: state.form.is_experiencing_dysuria,
urination_frequency: state.form.urination_frequency,
sleep: state.form.sleep,
nutrition_route: state.form.nutrition_route,
urination_frequency: state.form.urination_frequency ?? undefined,
sleep: state.form.sleep ?? undefined,
nutrition_route: state.form.nutrition_route ?? undefined,
oral_issue: state.form.oral_issue ?? undefined,
appetite: state.form.appetite,
appetite: state.form.appetite ?? undefined,
blood_sugar_level: state.form.blood_sugar_level,
nursing: state.form.nursing,
};
Expand Down

0 comments on commit 0b75296

Please sign in to comment.