image: local upload zone selection fix (#274)

Fixes #269

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Abhishek Kumar 2020-04-17 13:05:49 +05:30 committed by Rohit Yadav
parent 18d181bd60
commit bfeeba3790
1 changed files with 3 additions and 0 deletions

View File

@ -751,6 +751,9 @@ export default {
this.$set(this.format, 'opts', format)
},
handlerSelectZone (value) {
if (!Array.isArray(value)) {
value = [value]
}
this.validZone(value)
this.hyperVisor.opts = []