Wizard: fix blueprint unique name validation in Edit mode
This commit is contained in:
parent
e003682e23
commit
e0ec56c94d
4 changed files with 18 additions and 9 deletions
|
|
@ -45,6 +45,7 @@ export type wizardState = {
|
|||
serverUrl: string;
|
||||
baseUrl: string;
|
||||
};
|
||||
blueprintId?: string;
|
||||
wizardMode: WizardModeOptions;
|
||||
architecture: ImageRequest['architecture'];
|
||||
distribution: Distributions;
|
||||
|
|
@ -161,6 +162,10 @@ export const selectWizardMode = (state: RootState) => {
|
|||
return state.wizard.wizardMode;
|
||||
};
|
||||
|
||||
export const selectBlueprintId = (state: RootState) => {
|
||||
return state.wizard.blueprintId;
|
||||
};
|
||||
|
||||
export const selectBaseUrl = (state: RootState) => {
|
||||
return state.wizard.env.baseUrl;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue