diff --git a/ui/src/views/infra/zone/ZoneWizard.vue b/ui/src/views/infra/zone/ZoneWizard.vue index 0b33c7488d9..bdd12f71e33 100644 --- a/ui/src/views/infra/zone/ZoneWizard.vue +++ b/ui/src/views/infra/zone/ZoneWizard.vue @@ -212,7 +212,7 @@ export default { this.onCloseAction() }, onStepError (step, launchData) { - this.currentStep = this.steps.findIndex(item => item.step.includes(step)) + this.currentStep = this.zoneSteps.findIndex(item => item.step.includes(step)) this.stepChild = step this.launchData = launchData this.launchZone = false @@ -221,7 +221,7 @@ export default { onLaunchZone () { this.stepFixError = false this.launchZone = true - this.currentStep = this.steps.findIndex(item => item.step.includes('launchZone')) + this.currentStep = this.zoneSteps.findIndex(item => item.step.includes('launchZone')) } } }