Skip to content

Commit

Permalink
Updated name
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-smee-ttd committed Jan 7, 2024
1 parent 0d2582a commit 468bfa5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function UpdateParticipantDialog(props: UpdateParticipantDialogProps) {
setOpen(false);
};

const currentFormValues: ParticipantUpdateForm = {
const originalFormValues: ParticipantUpdateForm = {
apiRoles: props.participant.apiRoles
? props.participant.apiRoles.map((apiRole) => apiRole.id)
: [],
Expand All @@ -40,7 +40,7 @@ function UpdateParticipantDialog(props: UpdateParticipantDialogProps) {
<Form<ParticipantUpdateForm>
onSubmit={onSubmit}
submitButtonText='Update Participant'
defaultValues={currentFormValues}
defaultValues={originalFormValues}
>
<CheckboxInput
inputName='apiRoles'
Expand Down

0 comments on commit 468bfa5

Please sign in to comment.