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 2022/08/30 10:36:41 UTC

[cloudstack] branch 4.17 updated: ui: remove incorrect API calls when initializing the deploy VM page (#6687)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new 3170338d14 ui: remove incorrect API calls when initializing the deploy VM page (#6687)
3170338d14 is described below

commit 3170338d14ad3caa812abc3c1443914ba1a272a7
Author: Hoang Nguyen <ho...@unitech.vn>
AuthorDate: Tue Aug 30 17:36:34 2022 +0700

    ui: remove incorrect API calls when initializing the deploy VM page (#6687)
---
 ui/src/views/compute/DeployVM.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue
index dadecd9941..1566806883 100644
--- a/ui/src/views/compute/DeployVM.vue
+++ b/ui/src/views/compute/DeployVM.vue
@@ -1433,6 +1433,7 @@ export default {
           params.id = this.networkId
           apiName = 'listNetworks'
         }
+        if (!apiName) return resolve(zones)
 
         api(apiName, params).then(json => {
           let objectName