Wizard: Add Administrator field to review step

this commit add administrator field to review step
This commit is contained in:
Michal Gold 2025-02-02 11:21:58 +02:00 committed by Klara Simickova
parent e9876f6ed5
commit 5f7f958d07
2 changed files with 13 additions and 1 deletions

View file

@ -403,7 +403,7 @@ export const selectUserSshKeyByIndex =
export const selectUserAdministrator =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex].isAdministrator;
return state.wizard.users[userIndex]?.isAdministrator;
};
export const selectKernel = (state: RootState) => {