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

nvazquez 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 d45d257b9a UI: fix create vpc private gw by regular users (#6445)
d45d257b9a is described below

commit d45d257b9a31b5825d87a4f40412c54a3d1ed64c
Author: Wei Zhou <[email protected]>
AuthorDate: Thu Jun 9 12:25:03 2022 +0200

    UI: fix create vpc private gw by regular users (#6445)
---
 ui/src/views/network/VpcTab.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ui/src/views/network/VpcTab.vue b/ui/src/views/network/VpcTab.vue
index 2b7ab94cd9..2aee72cd43 100644
--- a/ui/src/views/network/VpcTab.vue
+++ b/ui/src/views/network/VpcTab.vue
@@ -187,7 +187,7 @@
               </a-form-item>
               <a-form-item :label="$t('label.associatednetwork')" 
ref="associatednetworkid" name="associatednetworkid">
                 <a-select
-                  v-model:value="form.associatednetwork"
+                  v-model:value="form.associatednetworkid"
                   showSearch
                   optionFilterProp="label"
                   :filterOption="(input, option) => {
@@ -738,8 +738,8 @@ export default {
         if (data.vlan && String(data.vlan).length > 0) {
           params.vlan = data.vlan
         }
-        if (data.associatednetwork) {
-          params.associatednetworkid = data.associatednetwork
+        if (data.associatednetworkid) {
+          params.associatednetworkid = data.associatednetworkid
         }
 
         api('createPrivateGateway', params).then(response => {

Reply via email to