ui: fix add zone dialog for fix errors (#7201)

This commit is contained in:
Abhishek Kumar 2023-02-13 17:36:41 +05:30 committed by GitHub
parent ea18b86684
commit f2d1a34271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))
}
}
}