@eeacms/volto-arcgis-block 0.1.475 → 0.1.476
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [0.1.476](https://github.com/eea/volto-arcgis-block/compare/0.1.475...0.1.476) - 31 August 2026
|
|
8
|
+
|
|
7
9
|
### [0.1.475](https://github.com/eea/volto-arcgis-block/compare/0.1.474...0.1.475) - 19 August 2026
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -1512,7 +1512,7 @@ class MapViewer extends React.Component {
|
|
|
1512
1512
|
let toc_panel_scrolls = sessionStorage.getItem('toc_panel_scrolls');
|
|
1513
1513
|
let checkedLayers = sessionStorage.getItem('checkedLayers');
|
|
1514
1514
|
if (!sessionStorage.getItem('TMSLayerObj')) {
|
|
1515
|
-
sessionStorage.clear();
|
|
1515
|
+
//sessionStorage.clear();
|
|
1516
1516
|
}
|
|
1517
1517
|
sessionStorage.setItem('toc_panel_scrolls', toc_panel_scrolls);
|
|
1518
1518
|
sessionStorage.setItem('checkedLayers', checkedLayers);
|
|
@@ -5738,18 +5738,25 @@ class MenuWidget extends React.Component {
|
|
|
5738
5738
|
'expandedDropdowns',
|
|
5739
5739
|
JSON.stringify(expandedDropdowns),
|
|
5740
5740
|
);
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5741
|
+
if (
|
|
5742
|
+
!this.location.search.includes('product=') &&
|
|
5743
|
+
!this.location.search.includes('dataset=')
|
|
5744
|
+
) {
|
|
5745
|
+
const userKey = this.userID
|
|
5746
|
+
? 'user_' + this.userID
|
|
5747
|
+
: 'user_anonymous';
|
|
5748
|
+
const existing = localStorage.getItem(userKey);
|
|
5749
|
+
let storeObj = {};
|
|
5750
|
+
if (existing) {
|
|
5751
|
+
try {
|
|
5752
|
+
storeObj = JSON.parse(existing) || {};
|
|
5753
|
+
} catch (e) {
|
|
5754
|
+
storeObj = {};
|
|
5755
|
+
}
|
|
5749
5756
|
}
|
|
5757
|
+
storeObj.expandedDropdowns = expandedDropdowns;
|
|
5758
|
+
localStorage.setItem(userKey, JSON.stringify(storeObj));
|
|
5750
5759
|
}
|
|
5751
|
-
storeObj.expandedDropdowns = expandedDropdowns;
|
|
5752
|
-
localStorage.setItem(userKey, JSON.stringify(storeObj));
|
|
5753
5760
|
}
|
|
5754
5761
|
} catch (e) {}
|
|
5755
5762
|
}
|