@eeacms/volto-arcgis-block 0.1.338 → 0.1.339
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.339](https://github.com/eea/volto-arcgis-block/compare/0.1.338...0.1.339) - 3 March 2025
|
|
8
|
+
|
|
7
9
|
### [0.1.338](https://github.com/eea/volto-arcgis-block/compare/0.1.337...0.1.338) - 18 February 2025
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -428,6 +428,7 @@ class MenuWidget extends React.Component {
|
|
|
428
428
|
this.activeLayersToHotspotData = this.activeLayersToHotspotData.bind(this);
|
|
429
429
|
this.getLimitScale = this.getLimitScale.bind(this);
|
|
430
430
|
this.handleOpenPopup = this.handleOpenPopup.bind(this);
|
|
431
|
+
this.filtersApplied = false;
|
|
431
432
|
// add zoomend listener to map to show/hide zoom in message
|
|
432
433
|
this.view.watch('stationary', (isStationary) => {
|
|
433
434
|
let snowAndIceInSessionStorage = sessionStorage.getItem('snowAndIce');
|
|
@@ -1234,7 +1235,11 @@ class MenuWidget extends React.Component {
|
|
|
1234
1235
|
|
|
1235
1236
|
if (product.Datasets && Array.isArray(product.Datasets)) {
|
|
1236
1237
|
for (var i in product.Datasets) {
|
|
1237
|
-
if (
|
|
1238
|
+
if (this.filtersApplied) {
|
|
1239
|
+
dataset_def = document
|
|
1240
|
+
.querySelector('#' + checkProduct)
|
|
1241
|
+
?.getAttribute('defcheck');
|
|
1242
|
+
} else if (
|
|
1238
1243
|
product.Datasets[i] &&
|
|
1239
1244
|
product.Datasets[i].Default_active === true
|
|
1240
1245
|
) {
|
|
@@ -4312,6 +4317,7 @@ class MenuWidget extends React.Component {
|
|
|
4312
4317
|
componentFilter === 'default' &&
|
|
4313
4318
|
productFilter === 'default'
|
|
4314
4319
|
) {
|
|
4320
|
+
this.filtersApplied = false;
|
|
4315
4321
|
componentFound = true;
|
|
4316
4322
|
productFound = true;
|
|
4317
4323
|
result = true;
|
|
@@ -4339,6 +4345,7 @@ class MenuWidget extends React.Component {
|
|
|
4339
4345
|
componentFilter ||
|
|
4340
4346
|
componentFilter === 'default'))
|
|
4341
4347
|
) {
|
|
4348
|
+
this.filtersApplied = true;
|
|
4342
4349
|
componentFound = true;
|
|
4343
4350
|
productFound = true;
|
|
4344
4351
|
result = true;
|