Skip to content

Commit

Permalink
Volunteer phone number added
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 committed Dec 10, 2024
1 parent 84382d5 commit ef68ac0
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/PatientDetailsTab/Demography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const Demography = (props: PatientProps) => {
hidden: !patientData.assigned_to_object,
details: [
<EmergencyContact
number={patientData.assigned_to_object?.alt_phone_number}
number={patientData.assigned_to_object?.phone_number}
name={
patientData.assigned_to_object
? formatName(patientData.assigned_to_object)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Patient/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface AssignedToObjectModel {
first_name: string;
last_name: string;
last_login?: string;
alt_phone_number?: string;
phone_number?: string;
user_type: string;
}

Expand Down

0 comments on commit ef68ac0

Please sign in to comment.