mirror of https://github.com/apache/cloudstack.git
List all suitable/available zones while creating networks (#873)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
482e223fae
commit
76f87ff179
|
|
@ -329,7 +329,7 @@ export default {
|
|||
fetchZoneData () {
|
||||
this.zones = []
|
||||
const params = {}
|
||||
if (this.resource.zoneid) {
|
||||
if (this.resource.zoneid && this.$route.name === 'deployVirtualMachine') {
|
||||
params.id = this.resource.zoneid
|
||||
}
|
||||
params.listAll = true
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ export default {
|
|||
fetchZoneData () {
|
||||
this.zones = []
|
||||
const params = {}
|
||||
if (this.resource.zoneid) {
|
||||
if (this.resource.zoneid && this.$route.name === 'deployVirtualMachine') {
|
||||
params.id = this.resource.zoneid
|
||||
}
|
||||
params.listAll = true
|
||||
|
|
|
|||
|
|
@ -519,7 +519,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
const params = {}
|
||||
if (this.resource.zoneid) {
|
||||
if (this.resource.zoneid && this.$route.name === 'deployVirtualMachine') {
|
||||
params.id = this.resource.zoneid
|
||||
}
|
||||
params.listAll = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue