@eeacms/volto-eea-map 5.0.7 → 5.0.8

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,10 +4,17 @@ 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
+ ### [5.0.8](https://github.com/eea/volto-eea-map/compare/5.0.7...5.0.8) - 18 December 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - test: Cleanup console.log [alin - [`c2ffb14`](https://github.com/eea/volto-eea-map/commit/c2ffb14a7288850d54980730f73c6b2ad9cd260c)]
12
+ - Check if variable exists [Miu Razvan - [`8531a80`](https://github.com/eea/volto-eea-map/commit/8531a8055eb83c7da17dc57355f5202d6f7ae244)]
7
13
  ### [5.0.7](https://github.com/eea/volto-eea-map/compare/5.0.6...5.0.7) - 29 November 2024
8
14
 
9
15
  #### :bug: Bug Fixes
10
16
 
17
+ - fix(upload): of files through contents modal where action.request.data is undefined #87 [Ichim David - [`96ac6dc`](https://github.com/eea/volto-eea-map/commit/96ac6dcfad899856f915aac88767acbe75457daa)]
11
18
  - fix(upload): of files through contents modal where action.request.data is undefined [Ichim David - [`4ca89e1`](https://github.com/eea/volto-eea-map/commit/4ca89e1ba22d662810a95c6bf6712ae41c355be2)]
12
19
 
13
20
  ### [5.0.6](https://github.com/eea/volto-eea-map/compare/5.0.5...5.0.6) - 6 November 2024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-map",
3
- "version": "5.0.7",
3
+ "version": "5.0.8",
4
4
  "description": "@eeacms/volto-eea-map: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -147,6 +147,7 @@ class $Layer extends EventEmitter {
147
147
  const data = await this.#layer.queryExtent();
148
148
  if (!$map.view?.ready) return;
149
149
  $map.view.goTo(data.extent).then(() => {
150
+ if ($map.view) return;
150
151
  const homeWidget = $map.view.ui.find('Home');
151
152
  if (!homeWidget) return;
152
153
  homeWidget.viewpoint = new $map.modules.AgViewpoint({