@eeacms/volto-arcgis-block 0.1.111 → 0.1.112

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.112](https://github.com/eea/volto-arcgis-block/compare/0.1.111...0.1.112) - 1 March 2023
8
+
7
9
  ### [0.1.111](https://github.com/eea/volto-arcgis-block/compare/0.1.110...0.1.111) - 28 February 2023
8
10
 
9
11
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -138,10 +138,17 @@ export const AddCartItem = ({
138
138
  id="map_download_add"
139
139
  className="ccl-button ccl-button-green"
140
140
  onClick={(e) => {
141
- if (!document.querySelector('.map-menu-layer input:checked')) {
141
+ if (
142
+ !document.querySelector('.map-menu-layer input:checked') &&
143
+ !dataset.MarkAsDownloadableNoServiceToVisualize
144
+ ) {
142
145
  document.getElementById('products_label').click();
143
146
  } else {
144
- if (dataset.IsTimeSeries && !checkTimeData(dataset)) {
147
+ if (
148
+ dataset.IsTimeSeries &&
149
+ !checkTimeData(dataset) &&
150
+ !dataset.MarkAsDownloadableNoServiceToVisualize
151
+ ) {
145
152
  document.getElementById('active_label').click();
146
153
  if (!document.querySelector('.timeslider-container')) {
147
154
  let layerId = document.querySelector(