@eeacms/volto-arcgis-block 0.1.92 → 0.1.94

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,15 @@ 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.94](https://github.com/eea/volto-arcgis-block/compare/0.1.93...0.1.94) - 2 February 2023
8
+
9
+ ### [0.1.93](https://github.com/eea/volto-arcgis-block/compare/0.1.92...0.1.93) - 2 February 2023
10
+
11
+ #### :hammer_and_wrench: Others
12
+
13
+ - Merge pull request #268 from eea/develop [Unai Bolivar - [`e289b42`](https://github.com/eea/volto-arcgis-block/commit/e289b42ecc8cc5b0129e50a0307a5e838e1dfebf)]
14
+ - Merge pull request #267 from eea/list-alert-trigger [Unai Bolivar - [`805a83f`](https://github.com/eea/volto-arcgis-block/commit/805a83fd49b66632e616d691d36e4623beb83923)]
15
+ - CLMS-1700 refactor: Alert is triggered by the new setting instead of checking for layers list [ujbolivar - [`6ab9947`](https://github.com/eea/volto-arcgis-block/commit/6ab994787e8306d495449eb275e6b0ddb48c7f33)]
7
16
  ### [0.1.92](https://github.com/eea/volto-arcgis-block/compare/0.1.91...0.1.92) - 2 February 2023
8
17
 
9
18
  #### :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.92",
3
+ "version": "0.1.94",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -2631,10 +2631,9 @@ class MenuWidget extends React.Component {
2631
2631
  />
2632
2632
  </div>
2633
2633
  )}
2634
-
2635
2634
  {this.props.download &&
2636
- this.layers &&
2637
- !Object.keys(this.layers)[0] && (
2635
+ this.compCfg[0].Products[0].Datasets[0]
2636
+ .MarkAsDownloadableNoServiceToVisualize === true && (
2638
2637
  // CLMS-1588 show modal if download and dataset has no dataset to show
2639
2638
 
2640
2639
  <>