From 568b8c83cf900d4081ca39f02cebe05242968604 Mon Sep 17 00:00:00 2001 From: Michal Gold Date: Thu, 9 Jan 2025 15:11:40 +0200 Subject: [PATCH] wizard: add ssh_key to review step this commit add ssh_key to review step under Users --- .../steps/Review/ReviewStepTextLists.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Components/CreateImageWizard/steps/Review/ReviewStepTextLists.tsx b/src/Components/CreateImageWizard/steps/Review/ReviewStepTextLists.tsx index ab948bf3..e6d0c6c4 100644 --- a/src/Components/CreateImageWizard/steps/Review/ReviewStepTextLists.tsx +++ b/src/Components/CreateImageWizard/steps/Review/ReviewStepTextLists.tsx @@ -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 ( @@ -807,6 +810,15 @@ export const UsersList = () => { {userPassword ? userPassword : 'None'} + + SSH key + + + {userSshKey ? userSshKey : 'None'} +