File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
site/src/pages/ManagementSettingsPage/IdpSyncPage Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,12 +217,12 @@ export const IdpGroupSyncForm = ({
217
217
< Button
218
218
type = "submit"
219
219
disabled = { ! idpGroupName || coderGroups . length === 0 }
220
- onClick = { async ( ) => {
220
+ onClick = { ( ) => {
221
221
const newSyncSettings = {
222
222
...form . values ,
223
223
mapping : {
224
224
...form . values . mapping ,
225
- [ idpGroupName ] : coderGroups . map ( ( role ) => role . value ) ,
225
+ [ idpGroupName ] : coderGroups . map ( ( group ) => group . value ) ,
226
226
} ,
227
227
} ;
228
228
void form . setFieldValue ( "mapping" , newSyncSettings . mapping ) ;
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export const IdpRoleSyncForm = ({
159
159
< Button
160
160
type = "submit"
161
161
disabled = { ! idpRoleName || coderRoles . length === 0 }
162
- onClick = { async ( ) => {
162
+ onClick = { ( ) => {
163
163
const newSyncSettings = {
164
164
...form . values ,
165
165
mapping : {
You can’t perform that action at this time.
0 commit comments