Merge pull request #10259 from Novacat/nova-pathfinder

Fixes Medical/Security PDA Records
This commit is contained in:
Novacat
2021-05-05 19:29:49 -04:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
@@ -85,7 +85,7 @@ export const pda_medical = (props, context) => {
{medical.cdi_d}
</LabeledList.Item>
<LabeledList.Item label="Important Notes">
{medical.notes}
{medical.notes.split("\n").map(m => <Box key={m}>{m}</Box>) || "No data found."}
</LabeledList.Item>
</LabeledList>
) || (
@@ -73,7 +73,7 @@ export const pda_security = (props, context) => {
{security.ma_crim_d}
</LabeledList.Item>
<LabeledList.Item label="Important Notes:">
{security.notes}
{security.notes.split("\n").map(m => <Box key={m}>{m}</Box>) || "No data found."}
</LabeledList.Item>
</LabeledList>
) || (
File diff suppressed because one or more lines are too long