File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2050,7 +2050,9 @@ export default {
2050
2050
this .owner .domainid = null
2051
2051
this .owner .projectid = OwnerOptions .selectedProject
2052
2052
}
2053
- this .resetData ()
2053
+ if (OwnerOptions .initialized ) {
2054
+ this .resetData ()
2055
+ }
2054
2056
},
2055
2057
fetchZones (zoneId , listZoneAllow ) {
2056
2058
this .zones = []
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ export default {
136
136
components: { ResourceIcon },
137
137
data () {
138
138
return {
139
+ initialized: false ,
139
140
domains: [],
140
141
accounts: [],
141
142
projects: [],
@@ -214,6 +215,7 @@ export default {
214
215
})
215
216
.finally (() => {
216
217
this .loading = false
218
+ this .initialized = true
217
219
})
218
220
},
219
221
fetchProjects () {
@@ -240,6 +242,7 @@ export default {
240
242
})
241
243
.finally (() => {
242
244
this .loading = false
245
+ this .initialized = true
243
246
})
244
247
},
245
248
changeDomain () {
You can’t perform that action at this time.
0 commit comments