@kennofizet/apphub-frontend 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +4 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -120,7 +120,6 @@ function applyBootstrapOrigins(store, bootstrapResponse, { fromCache = false } =
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
store.options.serverOriginsResolved = true
|
|
123
|
-
store.options.originBootstrapLoading = false
|
|
124
123
|
|
|
125
124
|
if (!fromCache) {
|
|
126
125
|
saveBootstrapCache(store.credentials.backendUrl, bootstrapResponse)
|
|
@@ -132,7 +131,11 @@ function applyBootstrapOrigins(store, bootstrapResponse, { fromCache = false } =
|
|
|
132
131
|
store.zoneContext.state.user.name = user.name
|
|
133
132
|
}
|
|
134
133
|
|
|
134
|
+
// Reconcile while originBootstrapLoading may still be true so enableModuleApi runs
|
|
135
|
+
// after disableModuleServices (wasLoading must be captured before clearing the flag).
|
|
135
136
|
reconcileOriginSafety(store)
|
|
137
|
+
store.options.originBootstrapLoading = false
|
|
138
|
+
applyOriginSafety(store.options)
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
function applyCachedBootstrapIfAny(store) {
|