Skip to content

Commit 9dbb736

Browse files
authored
ui: Display associated VPC network name against vpc tiers - deploy VM form (#6421)
1 parent c249e25 commit 9dbb736

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ui/src/views/compute/wizard/NetworkSelection.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,12 @@ export default {
271271
created () {
272272
this.vpcs = []
273273
const projectId = store?.getters?.project?.id || null
274-
if (!projectId) return
274+
var params = {}
275+
if (projectId) {
276+
params.projectid = projectId
277+
}
275278
api('listVPCs', {
276-
projectid: projectId
279+
params
277280
}).then((response) => {
278281
this.vpcs = _.get(response, 'listvpcsresponse.vpc')
279282
})

0 commit comments

Comments
 (0)