@coolon/angular-ui-powerups 16.1.0-alpha.252 → 16.1.0-alpha.253
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.
|
@@ -23,6 +23,12 @@ export declare class PlaceGuard {
|
|
|
23
23
|
* `rememberLastChild` is enabled (the default) and we have a record of the last active child that is
|
|
24
24
|
* still a valid, authorised child, we return to it. Otherwise we fall back to the first authorised
|
|
25
25
|
* child (the legacy behaviour).
|
|
26
|
+
*
|
|
27
|
+
* Authorisation is read AFTER awaiting each candidate child's authorisation-readiness (its
|
|
28
|
+
* `enablePlace` postpone conditions). Without this, a child whose enablement is still settling —
|
|
29
|
+
* e.g. gated on a datastore that is mid-load — is read as unauthorised, and the redirect silently
|
|
30
|
+
* lands on the wrong (already-settled) child. We only await the child's OWN readiness here; its
|
|
31
|
+
* own guard still runs when it is activated.
|
|
26
32
|
*/
|
|
27
33
|
private selectRedirectChild;
|
|
28
34
|
private findBestAuthenticatedAlternative;
|