You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/04/22 09:19:20 UTC
[cloudstack-primate] branch master updated: image: upload template
form hypervisor fix (#304)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 3291d84 image: upload template form hypervisor fix (#304)
3291d84 is described below
commit 3291d84ff5a25715e31d4fcff022197657b27de7
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Wed Apr 22 14:49:09 2020 +0530
image: upload template form hypervisor fix (#304)
Fixes #300
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
src/views/image/RegisterOrUploadTemplate.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/image/RegisterOrUploadTemplate.vue b/src/views/image/RegisterOrUploadTemplate.vue
index adb901f..00bcacb 100644
--- a/src/views/image/RegisterOrUploadTemplate.vue
+++ b/src/views/image/RegisterOrUploadTemplate.vue
@@ -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