Skip to content

Commit

Permalink
displayed username in createdBy colummn
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav6971 committed Feb 1, 2025
1 parent 66104a8 commit fe76135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Patient/diagnosis/DiagnosisTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function DiagnosisTable({
imageUrl={diagnosis.created_by?.profile_picture_url}
/>
<span className="text-sm">
{formatName(diagnosis.created_by)}
{diagnosis.created_by?.username}
</span>
</TableCell>
</TableRow>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Patient/symptoms/SymptomTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function SymptomTable({
imageUrl={symptom.created_by?.profile_picture_url}
/>
<span className="text-sm">
{formatName(symptom.created_by)}
{symptom.created_by?.username}
</span>
</TableCell>
</TableRow>
Expand Down

0 comments on commit fe76135

Please sign in to comment.