@eeacms/volto-arcgis-block 0.1.44 → 0.1.45

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,8 +4,24 @@ 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.45](https://github.com/eea/volto-arcgis-block/compare/0.1.44...0.1.45)
8
+
9
+ - Add dataset bug fix [`#143`](https://github.com/eea/volto-arcgis-block/pull/143)
10
+ - Ux improvements [`#141`](https://github.com/eea/volto-arcgis-block/pull/141)
11
+ - Old develop [`#140`](https://github.com/eea/volto-arcgis-block/pull/140)
12
+ - Add dataset bug fix [`#137`](https://github.com/eea/volto-arcgis-block/pull/137)
13
+ - Revert "map viewer tests upload" [`ac8b79e`](https://github.com/eea/volto-arcgis-block/commit/ac8b79e5e7640397748df56c4fc216cbc2d85006)
14
+ - Revert "Add dataset bug fix" [`bd8fb10`](https://github.com/eea/volto-arcgis-block/commit/bd8fb10753b7997da065410a64400e049c72671a)
15
+ - Revert "faililng tests removal" [`9cced1d`](https://github.com/eea/volto-arcgis-block/commit/9cced1dee05f26bac7b511e4763618cc4d99a363)
16
+ - faililng tests removal [`0ec6ee3`](https://github.com/eea/volto-arcgis-block/commit/0ec6ee351538aefada3f2b1d2e44f532e1112d85)
17
+ - Add dataset bug fixing [`7cd14aa`](https://github.com/eea/volto-arcgis-block/commit/7cd14aae5a82cd008118ebb2b01d622e2f331c47)
18
+ - map viewer tests upload [`f9e44e7`](https://github.com/eea/volto-arcgis-block/commit/f9e44e72dc557e3df52bc110de096a480d7ca8d3)
19
+
7
20
  #### [0.1.44](https://github.com/eea/volto-arcgis-block/compare/0.1.43...0.1.44)
8
21
 
22
+ > 27 May 2022
23
+
24
+ - Develop [`#136`](https://github.com/eea/volto-arcgis-block/pull/136)
9
25
  - Ux improvements [`#135`](https://github.com/eea/volto-arcgis-block/pull/135)
10
26
  - ESLint fix [`22071a9`](https://github.com/eea/volto-arcgis-block/commit/22071a9740174bfcddd357d1fa994c7318982522)
11
27
  - Change login link [`6a548a9`](https://github.com/eea/volto-arcgis-block/commit/6a548a9b8d154156c3c41c48cc6ace7709d6de0f)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -84,7 +84,7 @@ export const AddCartItem = ({
84
84
  dataset = cartData[0].Products[0].Datasets[0];
85
85
  }
86
86
  let id = dataset.DatasetId;
87
- let datasetElem = document.querySelector('div[datasetid="' + id + '"]');
87
+ let datasetElem = document.querySelector('[datasetid="' + id + '"]');
88
88
  let datasetData = {
89
89
  id: id,
90
90
  UID: id,
@@ -133,9 +133,7 @@ export const AddCartItem = ({
133
133
 
134
134
  const checkScrollPosition = () => {
135
135
  let dt = document.querySelector(
136
- '.map-menu-dataset[datasetid="' +
137
- dataset.DatasetId +
138
- '"] .map-dataset-checkbox',
136
+ '[datasetid="' + dataset.DatasetId + '"] .map-dataset-checkbox',
139
137
  );
140
138
  if (
141
139
  dt.offsetTop + dt.offsetHeight + 4 * 16 >