@@ -54,7 +54,7 @@ import { OrganizationPills } from "./OrganizationPills";
54
54
55
55
interface IdpSyncPageViewProps {
56
56
organizationSyncSettings : OrganizationSyncSettings | undefined ;
57
- fieldValues : readonly string [ ] | undefined ;
57
+ claimFieldValues : readonly string [ ] | undefined ;
58
58
organizations : readonly Organization [ ] ;
59
59
onSubmit : ( data : OrganizationSyncSettings ) => void ;
60
60
onSyncFieldChange : ( value : string ) => void ;
@@ -85,7 +85,7 @@ const validationSchema = Yup.object({
85
85
86
86
export const IdpOrgSyncPageView : FC < IdpSyncPageViewProps > = ( {
87
87
organizationSyncSettings,
88
- fieldValues ,
88
+ claimFieldValues ,
89
89
organizations,
90
90
onSubmit,
91
91
onSyncFieldChange,
@@ -137,7 +137,7 @@ export const IdpOrgSyncPageView: FC<IdpSyncPageViewProps> = ({
137
137
if (
138
138
event . key === "Enter" &&
139
139
inputValue &&
140
- ! fieldValues ?. some ( ( value ) => value === inputValue . toLowerCase ( ) )
140
+ ! claimFieldValues ?. some ( ( value ) => value === inputValue . toLowerCase ( ) )
141
141
) {
142
142
event . preventDefault ( ) ;
143
143
setIdpOrgName ( inputValue ) ;
@@ -220,10 +220,10 @@ export const IdpOrgSyncPageView: FC<IdpSyncPageViewProps> = ({
220
220
IdP organization name
221
221
</ Label >
222
222
223
- { fieldValues ? (
223
+ { claimFieldValues ? (
224
224
< Combobox
225
225
value = { idpOrgName }
226
- options = { fieldValues }
226
+ options = { claimFieldValues }
227
227
placeholder = "Select IdP organization"
228
228
open = { open }
229
229
onOpenChange = { setOpen }
@@ -314,7 +314,7 @@ export const IdpOrgSyncPageView: FC<IdpSyncPageViewProps> = ({
314
314
idpOrg = { idpOrg }
315
315
coderOrgs = { getOrgNames ( organizations ) }
316
316
onDelete = { handleDelete }
317
- exists = { fieldValues ?. includes ( idpOrg ) }
317
+ exists = { claimFieldValues ?. includes ( idpOrg ) }
318
318
/>
319
319
) ) }
320
320
</ IdpMappingTable >
0 commit comments