This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new f2d1a34271e ui: fix add zone dialog for fix errors (#7201)
f2d1a34271e is described below
commit f2d1a34271e62a51d3fa08473cde140e1db71be6
Author: Abhishek Kumar <[email protected]>
AuthorDate: Mon Feb 13 17:36:41 2023 +0530
ui: fix add zone dialog for fix errors (#7201)
---
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 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'))
}
}
}