Wizard: Fix nav issues On Edit
Since the FirstBoot step is now always rendered but conditionally hidden, Wizard was opening on the Details step in Edit.
This commit is contained in:
parent
8ee2bad55e
commit
fddf520864
1 changed files with 2 additions and 2 deletions
|
|
@ -188,9 +188,9 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
let startIndex = 1; // default index
|
||||
if (isEdit) {
|
||||
if (snapshottingEnabled) {
|
||||
startIndex = isFirstBootEnabled ? 15 : 14;
|
||||
startIndex = 15;
|
||||
} else {
|
||||
startIndex = isFirstBootEnabled ? 14 : 13;
|
||||
startIndex = 14;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue