Skip to content

Commit

Permalink
Update Labels, Hide Fields in Enrollment Request Review Page
Browse files Browse the repository at this point in the history
  • Loading branch information
linathedog committed Jul 31, 2024
1 parent 9146224 commit dfc09e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,4 @@ sshKeys=SSH Keys
sshKeysDescrption=This is a list of SSH keys associated with your account. Remove any keys that you do not recognize.
sshKeyErrorInvalid=Key is invalid. You must supply a key in OpenSSH public key format
sshKeyErrorDublicate=Key is already in use
userAuthnAuthorityLabel=Authentication Authority
userAuthnAuthorityLabel=Authentication Provider(s)
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export const EnrollmentRequest: FC<any> = (props) => {
props.close();
}



return (
<React.Fragment>
<Modal
Expand Down Expand Up @@ -169,6 +171,7 @@ export const EnrollmentRequest: FC<any> = (props) => {
>
<div>{enrollmentRequest?.userIdentifier?enrollmentRequest?.userIdentifier:Msg.localize('notAvailable')}</div>
</FormGroup>

{/* <FormGroup
label={Msg.localize('enrollmentAssuranceLabel')}
fieldId="simple-form-name-03"
Expand All @@ -185,16 +188,6 @@ export const EnrollmentRequest: FC<any> = (props) => {
</div>
</FormGroup>
*/}
<FormGroup
label={Msg.localize('enrollmentIdentityProviderLabel')}
fieldId="simple-form-name-03"
>
{enrollmentRequest?.userIdPName ?
<Badge key={'single'} className="gm_role_badge" isRead>{enrollmentRequest.userIdPName}</Badge>
:
<Msg msgKey='notAvailable' />
}
</FormGroup>
<FormGroup
label={Msg.localize('userAuthnAuthorityLabel')}
fieldId="simple-form-name-03"
Expand Down Expand Up @@ -226,7 +219,7 @@ export const EnrollmentRequest: FC<any> = (props) => {
>
<div>{enrollmentRequest?.user?.email}</div>
</FormGroup>
<FormGroup
{/* <FormGroup
label={Msg.localize('enrollmentAssuranceLabel')}
fieldId="simple-form-name-03"
>
Expand All @@ -240,7 +233,7 @@ export const EnrollmentRequest: FC<any> = (props) => {
: <Msg msgKey='notAvailable' />
}
</div>
</FormGroup>
</FormGroup> */}
<FormGroup
label={Msg.localize('enrollmentIdentityProvidersLabel')}
fieldId="simple-form-name-04"
Expand Down

0 comments on commit dfc09e9

Please sign in to comment.