@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kennofizet/apphub-frontend",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "App Hub Vue 3 UI — Windows-style desktop shell and modular apps (App Store default).",
5
5
  "main": "./src/index.js",
6
6
  "module": "./src/index.js",
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) {