Skip to content

Commit

Permalink
fix missing heartbeat rhythm in preview page
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Sep 2, 2024
1 parent 3dd3cee commit 8e450ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Components/LogUpdate/CriticalCarePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,14 @@ export default function CriticalCarePreview(props: Props) {
},
]}
/>
<Detail
label={t("heartbeat_rhythm")}
value={data.rhythm && t(`HEARTBEAT_RHYTHM__${data.rhythm}`)}
/>
<Detail
label={t("heartbeat_description")}
value={data.rhythm_detail}
/>
<h4 className="py-4">Pain Scale</h4>
<PainChart pain={data.pain_scale_enhanced ?? []} />
</Section>
Expand Down

0 comments on commit 8e450ac

Please sign in to comment.