Skip to content

Commit

Permalink
Merge branch 'develop' into valueset_bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 authored Feb 25, 2025
2 parents 03ddcd0 + dfeda14 commit 6a794ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Patient/symptoms/SymptomTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export function SymptomTable({
<TableHead className="h-auto py-1 px-2 text-gray-600">
{t("verification")}
</TableHead>
<TableHead className="h-auto py-1 px-2 text-gray-600">
{t("onset")}
</TableHead>
<TableHead className="h-auto py-1 px-2 text-gray-600">
{t("notes")}
</TableHead>
Expand Down Expand Up @@ -107,6 +110,11 @@ export function SymptomTable({
{t(symptom.verification_status)}
</Badge>
</TableCell>
<TableCell className="whitespace-nowrap">
{symptom.onset?.onset_datetime
? new Date(symptom.onset.onset_datetime).toLocaleDateString()
: "-"}
</TableCell>
<TableCell className="max-w-[200px]">
{symptom.note ? (
<div className="flex items-center gap-2">
Expand Down

0 comments on commit 6a794ee

Please sign in to comment.