Skip to content

Commit

Permalink
Update features/admin.users.v1/components/user-profile.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Jayashakthi Perera <jayashakthiperera@gmail.com>
  • Loading branch information
amanda-ariyaratne and JayaShakthi97 authored Feb 7, 2025
1 parent b744794 commit cc0f0ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions features/admin.users.v1/components/user-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,12 @@ export const UserProfile: FunctionComponent<UserProfilePropsInterface> = (
const schemaSecondaryProperty: string = schemaNames[1];

const userProfileSchema: string = userInfo
?. [userConfig.userProfileSchema]?.[schemaName]
?. [schemaSecondaryProperty];
?.[userConfig.userProfileSchema]?.[schemaName]
?.[schemaSecondaryProperty];

const enterpriseSchema: string = userInfo
?. [ProfileConstants.SCIM2_ENT_USER_SCHEMA]?.[schemaName]
?. [schemaSecondaryProperty];
?.[ProfileConstants.SCIM2_ENT_USER_SCHEMA]?.[schemaName]
?.[schemaSecondaryProperty];

if (schema.extended && (userProfileSchema || enterpriseSchema)) {
if (userProfileSchema) {
Expand Down

0 comments on commit cc0f0ae

Please sign in to comment.