mirror of https://github.com/apache/cloudstack.git
compute: Fixing networks not shown selected (#633)
Fixes #618 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
8b85d0fe95
commit
91cc0d11c2
|
|
@ -275,7 +275,7 @@
|
|||
</a-select>
|
||||
</a-form-item>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div v-show="!(vm.templateid && templateNics && templateNics.length > 0)" >
|
||||
<network-selection
|
||||
v-if="!networkId"
|
||||
:items="options.networks"
|
||||
|
|
@ -1334,6 +1334,12 @@ export default {
|
|||
arrNetwork.push(ipToNetwork)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.$notification.error({
|
||||
message: this.$t('message.request.failed'),
|
||||
description: this.$t('message.step.4.continue')
|
||||
})
|
||||
return
|
||||
}
|
||||
for (let j = 0; j < arrNetwork.length; j++) {
|
||||
deployVmData['iptonetworklist[' + j + '].networkid'] = arrNetwork[j].networkid
|
||||
|
|
|
|||
Loading…
Reference in New Issue