Skip to content

Commit bcf5ff1

Browse files
UI: fix missing networkid and zoneid when add instance from vpc network (#7151)
1 parent c78a777 commit bcf5ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/network/VpcTiersTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
type="dashed"
6969
style="margin-bottom: 15px; width: 100%"
7070
:disabled="!('deployVirtualMachine' in $store.getters.apis)"
71-
@click="$router.push({ path: '/action/deployVirtualMachine?networkid=' + network.id + '&zoneid=' + network.zoneid })">
71+
@click="$router.push({ path: '/action/deployVirtualMachine', query: { networkid: network.id, zoneid: network.zoneid } })">
7272
<template #icon><plus-outlined /></template>
7373
{{ $t('label.vm.add') }}
7474
</a-button>

0 commit comments

Comments
 (0)