wizard: add ssh_key to review step
this commit add ssh_key to review step under Users
This commit is contained in:
parent
8996dcc092
commit
568b8c83cf
1 changed files with 12 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ import {
|
|||
selectHostname,
|
||||
selectUserNameByIndex,
|
||||
selectUserPasswordByIndex,
|
||||
selectUserSshKeyByIndex,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { toMonthAndYear, yyyyMMddFormat } from '../../../../Utilities/time';
|
||||
import {
|
||||
|
|
@ -784,6 +785,8 @@ export const UsersList = () => {
|
|||
const userName = useAppSelector(userNameSelector);
|
||||
const userPasswordSelector = selectUserPasswordByIndex(index);
|
||||
const userPassword = useAppSelector(userPasswordSelector);
|
||||
const userSshKeySelector = selectUserSshKeyByIndex(index);
|
||||
const userSshKey = useAppSelector(userSshKeySelector);
|
||||
|
||||
return (
|
||||
<TextContent>
|
||||
|
|
@ -807,6 +810,15 @@ export const UsersList = () => {
|
|||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{userPassword ? userPassword : 'None'}
|
||||
</TextListItem>
|
||||
<TextListItem
|
||||
component={TextListItemVariants.dt}
|
||||
className="pf-v5-u-min-width"
|
||||
>
|
||||
SSH key
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{userSshKey ? userSshKey : 'None'}
|
||||
</TextListItem>
|
||||
</>
|
||||
</TextList>
|
||||
</TextContent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue