You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/05/30 18:39:58 UTC
[cloudstack] branch main updated: ui: Display associated VPC network name against vpc tiers - deploy VM form (#6421)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 9dbb736488 ui: Display associated VPC network name against vpc tiers - deploy VM form (#6421)
9dbb736488 is described below
commit 9dbb73648854c1f0706c75a119992748116b61c6
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Tue May 31 00:09:51 2022 +0530
ui: Display associated VPC network name against vpc tiers - deploy VM form (#6421)
---
ui/src/views/compute/wizard/NetworkSelection.vue | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ui/src/views/compute/wizard/NetworkSelection.vue b/ui/src/views/compute/wizard/NetworkSelection.vue
index 1e679fc928..dddd4a4d6b 100644
--- a/ui/src/views/compute/wizard/NetworkSelection.vue
+++ b/ui/src/views/compute/wizard/NetworkSelection.vue
@@ -271,9 +271,12 @@ export default {
created () {
this.vpcs = []
const projectId = store?.getters?.project?.id || null
- if (!projectId) return
+ var params = {}
+ if (projectId) {
+ params.projectid = projectId
+ }
api('listVPCs', {
- projectid: projectId
+ params
}).then((response) => {
this.vpcs = _.get(response, 'listvpcsresponse.vpc')
})