Wizard: Fix On Edit startIndex
With Snapshotting being only hidden startIndex needs to be updated.
This commit is contained in:
parent
2febf98e93
commit
8a5dea7abf
1 changed files with 1 additions and 5 deletions
|
|
@ -187,11 +187,7 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
|
||||
let startIndex = 1; // default index
|
||||
if (isEdit) {
|
||||
if (snapshottingEnabled) {
|
||||
startIndex = 15;
|
||||
} else {
|
||||
startIndex = 14;
|
||||
}
|
||||
startIndex = 15;
|
||||
}
|
||||
|
||||
// Duplicating some of the logic from the Wizard component to allow for custom nav items status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue