@acorex-platform/framework-client 2.0.0-next.30 → 2.0.0-next.31
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.
|
@@ -3863,9 +3863,10 @@ function readEntityListNavigationPairs(query) {
|
|
|
3863
3863
|
return pairs;
|
|
3864
3864
|
}
|
|
3865
3865
|
if (typeof query === 'string') {
|
|
3866
|
-
const
|
|
3867
|
-
|
|
3868
|
-
|
|
3866
|
+
const hashless = query.split('#')[0];
|
|
3867
|
+
const queryMarker = hashless.indexOf('?');
|
|
3868
|
+
// A path with no "?" is not a query. Parsing it makes the path itself a key and opens a second tab.
|
|
3869
|
+
const queryString = queryMarker >= 0 ? hashless.slice(queryMarker + 1) : hashless.startsWith('/') ? '' : hashless;
|
|
3869
3870
|
const params = new URLSearchParams(queryString);
|
|
3870
3871
|
params.forEach((value, key) => pushEntityListNavigationPair(pairs, key, value));
|
|
3871
3872
|
return pairs;
|
|
@@ -8621,9 +8622,13 @@ class AXPTabNavigationService {
|
|
|
8621
8622
|
* The context is the session at enqueue time. A newer emission stops this task, including after an await.
|
|
8622
8623
|
*/
|
|
8623
8624
|
async syncTabsToSession(context) {
|
|
8624
|
-
//
|
|
8625
|
+
// Only a bound signed-in owner is a real sign-out. Startup publishes the user
|
|
8626
|
+
// before Authenticated; treating that as sign-out deletes the saved tab list.
|
|
8627
|
+
// A queued sign-out still deletes its captured key after a newer sign-in.
|
|
8625
8628
|
if (context.sessionEnded) {
|
|
8626
|
-
this.
|
|
8629
|
+
if (this.tabsOwnerStamp != null) {
|
|
8630
|
+
this.applyCapturedSignOut(context);
|
|
8631
|
+
}
|
|
8627
8632
|
return;
|
|
8628
8633
|
}
|
|
8629
8634
|
if (!this.isCurrentSessionSync(context)) {
|