Update guide presentation and route preview gating
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
applyRouteReadinessGate,
|
||||
NAV_ASSET_BASE_URL,
|
||||
NAV_ROUTE_READINESS
|
||||
} from '@/domain/guideReadiness'
|
||||
@@ -345,7 +346,7 @@ export const createStaticNavAssetsProvider = (
|
||||
},
|
||||
async loadRouteReadiness() {
|
||||
const manifest = await provider.loadManifest()
|
||||
return manifest.routeReadiness || NAV_ROUTE_READINESS
|
||||
return applyRouteReadinessGate(manifest.routeReadiness || NAV_ROUTE_READINESS)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user