From d5181185d6ef989c86ce8608fe311310a1f41ef7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 13 Feb 2023 17:10:37 +0530 Subject: [PATCH] ui: fix add zone dialog for fix errors Fixes #7194 Signed-off-by: Abhishek Kumar --- ui/src/views/infra/zone/ZoneWizard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/infra/zone/ZoneWizard.vue b/ui/src/views/infra/zone/ZoneWizard.vue index 0b33c7488d96..bdd12f71e333 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')) } } }