Skip to content

Commit aaf4908

Browse files
author
Chris Medykiewicz
committed
US207: Fixing add to queue button error
1 parent 39b7be0 commit aaf4908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/components/ParticipantInfo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const ParticipantInfo = observer(() => {
136136
? data[participantIndex].insuranceType
137137
: "",
138138
insurer: data[participantIndex].insurer
139-
? data[participantIndex].insurer.name
139+
? data[participantIndex].insurer
140140
: "",
141141
priority: data[participantIndex].priority,
142142
note: data[participantIndex].note,
@@ -425,11 +425,11 @@ const ParticipantInfo = observer(() => {
425425
open={open.insuranceType}
426426
onClose={handleClose.insuranceType}
427427
onOpen={handleOpen.insuranceType}
428-
value={participant.insurer}
428+
value={participant.insuranceType}
429429
onChange={e =>
430430
setParticipant({
431431
...participant,
432-
insurer: e.target.value.name,
432+
insuranceType: e.target.value,
433433
})
434434
}
435435
inputProps={{

0 commit comments

Comments
 (0)