Skip to content

Commit

Permalink
Show hyphen when no severity in SymptonTable
Browse files Browse the repository at this point in the history
  • Loading branch information
rajku-dev committed Feb 17, 2025
1 parent 21ecdf5 commit 8f38824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Patient/symptoms/SymptomTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function SymptomTable({
SYMPTOM_SEVERITY_STYLES[symptom.severity]
}`}
>
{t(symptom.severity)}
{symptom.severity ? t(symptom.severity) : "-"}
</Badge>
</TableCell>
<TableCell>
Expand Down

0 comments on commit 8f38824

Please sign in to comment.