@eeacms/volto-eea-map 5.0.1 → 5.0.2

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,11 +4,13 @@ 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.1](https://github.com/eea/volto-eea-map/compare/5.0.0...5.0.1) - 16 August 2024
7
+ ### [5.0.2](https://github.com/eea/volto-eea-map/compare/5.0.1...5.0.2) - 16 August 2024
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - fix small bugs [Miu Razvan - [`775caa5`](https://github.com/eea/volto-eea-map/commit/775caa554cdd7e0969b2c14e57dbbde0a53a0946)]
11
+ - fix small bug [Miu Razvan - [`41499bf`](https://github.com/eea/volto-eea-map/commit/41499bfc86d7a975fac49cad865f396b7deda187)]
12
+ ### [5.0.1](https://github.com/eea/volto-eea-map/compare/5.0.0...5.0.1) - 16 August 2024
13
+
12
14
  ## [5.0.0](https://github.com/eea/volto-eea-map/compare/4.1.0...5.0.0) - 26 July 2024
13
15
 
14
16
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-map",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
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",
@@ -172,7 +172,7 @@ class $Map extends EventEmitter {
172
172
 
173
173
  if (
174
174
  this.#view.constraints.rotationEnabled &&
175
- !ViewProperties.constraints.rotationEnabled
175
+ !ViewProperties.constraints?.rotationEnabled
176
176
  ) {
177
177
  this.#view.rotation = 0;
178
178
  }