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

weizhou 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 bcf5ff1ec83 UI: fix missing networkid and zoneid when add instance 
from vpc network (#7151)
bcf5ff1ec83 is described below

commit bcf5ff1ec8384ac287c094281c4497d5101ad45e
Author: Wei Zhou <[email protected]>
AuthorDate: Wed Feb 1 10:58:19 2023 +0100

    UI: fix missing networkid and zoneid when add instance from vpc network 
(#7151)
---
 ui/src/views/network/VpcTiersTab.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/network/VpcTiersTab.vue 
b/ui/src/views/network/VpcTiersTab.vue
index fb57c4d8685..db2eae2c525 100644
--- a/ui/src/views/network/VpcTiersTab.vue
+++ b/ui/src/views/network/VpcTiersTab.vue
@@ -68,7 +68,7 @@
                 type="dashed"
                 style="margin-bottom: 15px; width: 100%"
                 :disabled="!('deployVirtualMachine' in $store.getters.apis)"
-                @click="$router.push({ path: 
'/action/deployVirtualMachine?networkid=' + network.id + '&zoneid=' + 
network.zoneid })">
+                @click="$router.push({ path: '/action/deployVirtualMachine', 
query: { networkid: network.id, zoneid: network.zoneid } })">
                 <template #icon><plus-outlined /></template>
                 {{ $t('label.vm.add') }}
               </a-button>

Reply via email to