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 {
20502050 this .owner .domainid = null
20512051 this .owner .projectid = OwnerOptions .selectedProject
20522052 }
2053- this .resetData ()
2053+ if (OwnerOptions .initialized ) {
2054+ this .resetData ()
2055+ }
20542056 },
20552057 fetchZones (zoneId , listZoneAllow ) {
20562058 this .zones = []
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ export default {
136136 components: { ResourceIcon },
137137 data () {
138138 return {
139+ initialized: false ,
139140 domains: [],
140141 accounts: [],
141142 projects: [],
@@ -214,6 +215,7 @@ export default {
214215 })
215216 .finally (() => {
216217 this .loading = false
218+ this .initialized = true
217219 })
218220 },
219221 fetchProjects () {
@@ -240,6 +242,7 @@ export default {
240242 })
241243 .finally (() => {
242244 this .loading = false
245+ this .initialized = true
243246 })
244247 },
245248 changeDomain () {
You can’t perform that action at this time.
0 commit comments