@eeacms/volto-arcgis-block 0.1.234 → 0.1.235

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.235](https://github.com/eea/volto-arcgis-block/compare/0.1.234...0.1.235) - 16 November 2023
8
+
7
9
  ### [0.1.234](https://github.com/eea/volto-arcgis-block/compare/0.1.233...0.1.234) - 15 November 2023
8
10
 
9
11
  ### [0.1.233](https://github.com/eea/volto-arcgis-block/compare/0.1.232...0.1.233) - 8 November 2023
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.234",
3
+ "version": "0.1.235",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -185,9 +185,9 @@ class SwipeWidget extends React.Component {
185
185
  );
186
186
  }
187
187
  if (
188
- this.swipe.selectTrailingLayer &&
189
- this.swipe.selectTrailingLayer.items[0] &&
190
- this.swipe.selectTrailingLayer.items[0].id === layerId
188
+ this.swipe.trailingLayers &&
189
+ this.swipe.trailingLayers.items[0] &&
190
+ this.swipe.trailingLayers.items[0].id === layerId
191
191
  ) {
192
192
  selectTrailingLayer.options.add(
193
193
  new Option(
@@ -284,6 +284,7 @@ class SwipeWidget extends React.Component {
284
284
  this.map.layers.add(this.swipe.trailingLayers.items[0]);
285
285
  }
286
286
  }
287
+
287
288
  loadVisibleLayers() {
288
289
  let cl = JSON.parse(sessionStorage.getItem('checkedLayers'));
289
290
  if (cl) {