@geogirafe/lib-geoportal 1.3.0-dev.3102381424 → 1.3.0-dev.3113960509

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "GeoGirafe PSC",
6
6
  "url": "https://doc.geogirafe.org"
7
7
  },
8
- "version": "1.3.0-dev.3102381424",
8
+ "version": "1.3.0-dev.3113960509",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.3.0-dev.3102381424", "build":"3102381424", "date":"23/11/2026"}
1
+ {"version":"1.3.0-dev.3113960509", "build":"3113960509", "date":"25/11/2026"}
@@ -94,6 +94,13 @@ export default class AbstractConnectManager {
94
94
  if (shortId) {
95
95
  url.searchParams.set(SHORTLINK_PARAMETER, shortId);
96
96
  }
97
+ // Keep the current hash: without a redirect (e.g. the session check on load of an anonymous user),
98
+ // it still contains the shared state, which is restored only after the login workflow.
99
+ // After a redirect, the hash preserved in the query parameter takes precedence.
100
+ const currentHash = this.context.urlManager.getHash();
101
+ if (currentHash) {
102
+ url.hash = currentHash;
103
+ }
97
104
  this.restoreUrlHash(url);
98
105
  this.context.urlManager.updateUrl(url);
99
106
  }