Skip to content

Commit f2d1a34

Browse files
authored
ui: fix add zone dialog for fix errors (#7201)
1 parent ea18b86 commit f2d1a34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/views/infra/zone/ZoneWizard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export default {
212212
this.onCloseAction()
213213
},
214214
onStepError (step, launchData) {
215-
this.currentStep = this.steps.findIndex(item => item.step.includes(step))
215+
this.currentStep = this.zoneSteps.findIndex(item => item.step.includes(step))
216216
this.stepChild = step
217217
this.launchData = launchData
218218
this.launchZone = false
@@ -221,7 +221,7 @@ export default {
221221
onLaunchZone () {
222222
this.stepFixError = false
223223
this.launchZone = true
224-
this.currentStep = this.steps.findIndex(item => item.step.includes('launchZone'))
224+
this.currentStep = this.zoneSteps.findIndex(item => item.step.includes('launchZone'))
225225
}
226226
}
227227
}

0 commit comments

Comments
 (0)