File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ export default {
329329 fetchZoneData () {
330330 this .zones = []
331331 const params = {}
332- if (this .resource .zoneid ) {
332+ if (this .resource .zoneid && this . $route . name === ' deployVirtualMachine ' ) {
333333 params .id = this .resource .zoneid
334334 }
335335 params .listAll = true
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ export default {
304304 fetchZoneData () {
305305 this .zones = []
306306 const params = {}
307- if (this .resource .zoneid ) {
307+ if (this .resource .zoneid && this . $route . name === ' deployVirtualMachine ' ) {
308308 params .id = this .resource .zoneid
309309 }
310310 params .listAll = true
Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ export default {
519519 }
520520 } else {
521521 const params = {}
522- if (this .resource .zoneid ) {
522+ if (this .resource .zoneid && this . $route . name === ' deployVirtualMachine ' ) {
523523 params .id = this .resource .zoneid
524524 }
525525 params .listAll = true
You can’t perform that action at this time.
0 commit comments