store: Remove unused selectors
This removes selectors that are no longer used.
This commit is contained in:
parent
0b843a64d9
commit
a07fbb6477
1 changed files with 0 additions and 25 deletions
|
|
@ -414,31 +414,6 @@ export const selectUsers = (state: RootState) => {
|
|||
return state.wizard.users;
|
||||
};
|
||||
|
||||
export const selectUserNameByIndex =
|
||||
(userIndex: number) => (state: RootState) => {
|
||||
return state.wizard.users[userIndex]?.name;
|
||||
};
|
||||
|
||||
export const selectUserPasswordByIndex =
|
||||
(userIndex: number) => (state: RootState) => {
|
||||
return state.wizard.users[userIndex]?.password;
|
||||
};
|
||||
|
||||
export const selectUserSshKeyByIndex =
|
||||
(userIndex: number) => (state: RootState) => {
|
||||
return state.wizard.users[userIndex]?.ssh_key;
|
||||
};
|
||||
|
||||
export const selectUserAdministrator =
|
||||
(userIndex: number) => (state: RootState) => {
|
||||
return state.wizard.users[userIndex]?.isAdministrator;
|
||||
};
|
||||
|
||||
export const selectUserGroupsByIndex =
|
||||
(userIndex: number) => (state: RootState) => {
|
||||
return state.wizard.users[userIndex]?.groups;
|
||||
};
|
||||
|
||||
export const selectKernel = (state: RootState) => {
|
||||
return state.wizard.kernel;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue