We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c51396a + aaf4908 commit 419109aCopy full SHA for 419109a
frontend/src/components/ParticipantInfo.js
@@ -132,8 +132,12 @@ const ParticipantInfo = observer(() => {
132
race: data[participantIndex].race,
133
gender: data[participantIndex].gender,
134
hasInsurance: data[participantIndex].is_insured,
135
- insuranceType: data[participantIndex],
136
- insurer: data[participantIndex].insurer,
+ insuranceType: data[participantIndex].insuranceType
+ ? data[participantIndex].insuranceType
137
+ : "",
138
+ insurer: data[participantIndex].insurer
139
+ ? data[participantIndex].insurer
140
141
priority: data[participantIndex].priority,
142
note: data[participantIndex].note,
143
})
@@ -171,7 +175,7 @@ const ParticipantInfo = observer(() => {
171
175
gender: participant.gender,
172
176
is_insured: participant.hasInsurance,
173
177
insuranceType: participant.insuranceType,
174
- insurer: participant.insurer,
178
+ insurer: participant.insurer.name,
179
priority: participant.priority,
180
note: participant.note,
181
0 commit comments