@eeacms/volto-arcgis-block 0.1.360 → 0.1.361
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.361](https://github.com/eea/volto-arcgis-block/compare/0.1.360...0.1.361) - 20 May 2025
|
|
8
|
+
|
|
7
9
|
### [0.1.360](https://github.com/eea/volto-arcgis-block/compare/0.1.359...0.1.360) - 19 May 2025
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -336,7 +336,9 @@ class MapViewer extends React.Component {
|
|
|
336
336
|
this.location.search.includes('dataset=')))
|
|
337
337
|
) {
|
|
338
338
|
let toc_panel_scrolls = sessionStorage.getItem('toc_panel_scrolls');
|
|
339
|
-
sessionStorage.
|
|
339
|
+
if (!sessionStorage.getItem('TMSLayerObj')) {
|
|
340
|
+
sessionStorage.clear();
|
|
341
|
+
}
|
|
340
342
|
sessionStorage.setItem('toc_panel_scrolls', toc_panel_scrolls);
|
|
341
343
|
}
|
|
342
344
|
// if (
|
|
@@ -4505,8 +4505,7 @@ class MenuWidget extends React.Component {
|
|
|
4505
4505
|
let dataset = url.searchParams.get('dataset');
|
|
4506
4506
|
if (
|
|
4507
4507
|
this.state.wmsUserServiceLayers.length > 0 &&
|
|
4508
|
-
prevState.wmsUserServiceLayers.length === 0
|
|
4509
|
-
!(product || dataset)
|
|
4508
|
+
prevState.wmsUserServiceLayers.length === 0
|
|
4510
4509
|
) {
|
|
4511
4510
|
// Close other tabs and open "My Services" tab
|
|
4512
4511
|
let dropdownsMapMenu = document.querySelectorAll('.map-menu-dropdown');
|
|
@@ -4515,13 +4514,16 @@ class MenuWidget extends React.Component {
|
|
|
4515
4514
|
let dropdownId = 'dropdown_' + i;
|
|
4516
4515
|
// let myServicesId = 'component_' + i;
|
|
4517
4516
|
// let mapMenuServiceDropdownId = 'product_' + i + '_' + j;
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
dropdown
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4517
|
+
if (!(product || dataset)) {
|
|
4518
|
+
dropdownsMapMenu.forEach((dropdown) => {
|
|
4519
|
+
if (dropdown.id !== dropdownId) {
|
|
4520
|
+
dropdown
|
|
4521
|
+
.querySelector('.ccl-expandable__button')
|
|
4522
|
+
.setAttribute('aria-expanded', 'false');
|
|
4523
|
+
}
|
|
4524
|
+
});
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4525
4527
|
document.getElementById(dropdownId).setAttribute('aria-expanded', 'true');
|
|
4526
4528
|
}
|
|
4527
4529
|
|