mirror of https://github.com/apache/cloudstack.git
infra: Fix for secondary storage form (#345)
Fixes #344 Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
984505e054
commit
3d1f51511f
|
|
@ -47,6 +47,7 @@
|
|||
initialValue: this.zoneSelected,
|
||||
rules: [{ required: true, message: 'required'}]
|
||||
}]"
|
||||
@change="val => { zoneSelected = val }"
|
||||
>
|
||||
<a-select-option
|
||||
:value="zone.id"
|
||||
|
|
@ -195,7 +196,7 @@ export default {
|
|||
if (json && json.listzonesresponse && json.listzonesresponse.zone) {
|
||||
this.zones = json.listzonesresponse.zone
|
||||
if (this.zones.length > 0) {
|
||||
this.zoneSelected = this.zones[0].name
|
||||
this.zoneSelected = this.zones[0].id || ''
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue