File tree 3 files changed +4
-18
lines changed
site/src/pages/OrganizationSettingsPage/IdpSyncPage
3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ export const IdpGroupSyncForm: FC<IdpGroupSyncFormProps> = ({
232
232
inputValue = { comboInputValue }
233
233
onInputChange = { setComboInputValue }
234
234
onKeyDown = { handleKeyDown }
235
- onSelect = { ( value : string ) => {
235
+ onSelect = { ( value ) => {
236
236
setIdpGroupName ( value ) ;
237
237
setOpen ( false ) ;
238
238
} }
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export const IdpRoleSyncForm: FC<IdpRoleSyncFormProps> = ({
173
173
inputValue = { comboInputValue }
174
174
onInputChange = { setComboInputValue }
175
175
onKeyDown = { handleKeyDown }
176
- onSelect = { ( value : string ) => {
176
+ onSelect = { ( value ) => {
177
177
setIdpRoleName ( value ) ;
178
178
setOpen ( false ) ;
179
179
} }
Original file line number Diff line number Diff line change @@ -44,22 +44,8 @@ export const IdpSyncPage: FC = () => {
44
44
rolesQuery ,
45
45
] = useQueries ( {
46
46
queries : [
47
- {
48
- ...groupIdpSyncSettings ( organizationName ) ,
49
- onSuccess : ( data : GroupSyncSettings ) => {
50
- if ( data ?. field ) {
51
- setGroupField ( data . field ) ;
52
- }
53
- } ,
54
- } ,
55
- {
56
- ...roleIdpSyncSettings ( organizationName ) ,
57
- onSuccess : ( data : RoleSyncSettings ) => {
58
- if ( data ?. field ) {
59
- setRoleField ( data . field ) ;
60
- }
61
- } ,
62
- } ,
47
+ groupIdpSyncSettings ( organizationName ) ,
48
+ roleIdpSyncSettings ( organizationName ) ,
63
49
groupsByOrganization ( organizationName ) ,
64
50
organizationRoles ( organizationName ) ,
65
51
] ,
You can’t perform that action at this time.
0 commit comments