Skip to content

Commit b22cae2

Browse files
Merge pull request #1940 from johnduprey/dev
Invite/Role wizard fixes
2 parents 5e29ceb + df0d2a0 commit b22cae2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/views/tenant/administration/GDAPInviteWizard.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { WizardTableField } from 'src/components/tables'
88
import { TitleButton } from 'src/components/buttons'
99
import PropTypes from 'prop-types'
1010
import { useLazyGenericGetRequestQuery, useLazyGenericPostRequestQuery } from 'src/store/api/app'
11+
import { CippCodeBlock } from 'src/components/utilities'
1112

1213
const Error = ({ name }) => (
1314
<Field
@@ -145,6 +146,12 @@ const GDAPInviteWizard = () => {
145146
{postResults.data.Results.map((message, idx) => {
146147
return <li key={idx}>{message}</li>
147148
})}
149+
<CippCodeBlock
150+
code={postResults.data.Invite.InviteUrl}
151+
showLineNumbers={false}
152+
wrapLongLines={true}
153+
language="text"
154+
/>
148155
</CCallout>
149156
)}
150157
<hr className="my-4" />

src/views/tenant/administration/GDAPRoleWizard.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ const GDAPRoleWizard = () => {
168168
return <li key={idx}>{message}</li>
169169
})}
170170
</CCallout>
171-
<Link to="/tenant/administration/gdap">
172-
<CButton>Start GDAP Migration</CButton>
171+
<Link to="/tenant/administration/gdap-invite">
172+
<CButton>Create GDAP Invite</CButton>
173173
</Link>
174174
</>
175175
)}

0 commit comments

Comments
 (0)