mirror of https://github.com/apache/cloudstack.git
image: upload template form hypervisor fix (#304)
Fixes #300 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1312ec2b8b
commit
475cc04dd7
|
|
@ -773,7 +773,7 @@ export default {
|
|||
}
|
||||
|
||||
for (let i = 0; i < value.length; i++) {
|
||||
const zoneSelected = this.zones.opts.filter(zone => zone.name === value[i])
|
||||
const zoneSelected = this.zones.opts.filter(zone => zone.id === value[i])
|
||||
|
||||
if (zoneSelected.length > 0) {
|
||||
params.zoneid = zoneSelected[0].id
|
||||
|
|
|
|||
Loading…
Reference in New Issue