@eeacms/volto-n2k 1.0.5 → 1.0.6

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,12 @@ 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
- ### [1.0.5](https://github.com/eea/volto-n2k/compare/1.0.4...1.0.5) - 13 December 2022
7
+ ### [1.0.6](https://github.com/eea/volto-n2k/compare/1.0.5...1.0.6) - 14 December 2022
8
8
 
9
- #### :rocket: New Features
9
+ #### :hammer_and_wrench: Others
10
10
 
11
- - feat: small improvments - #158303 [Miu Razvan - [`0c6cba7`](https://github.com/eea/volto-n2k/commit/0c6cba7dabd5feaa4f95786ec8171988adeff344)]
11
+ - update [Miu Razvan - [`e743c1c`](https://github.com/eea/volto-n2k/commit/e743c1c6acd838b359c93b8a922bbbcf247e28a2)]
12
+ ### [1.0.5](https://github.com/eea/volto-n2k/compare/1.0.4...1.0.5) - 13 December 2022
12
13
 
13
14
  #### :hammer_and_wrench: Others
14
15
 
@@ -134,7 +135,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
134
135
  - Update [razvanMiu - [`42ab50e`](https://github.com/eea/volto-n2k/commit/42ab50e6681a47251d15ac06b836c6f8c27157fa)]
135
136
  - Added bubble chart [razvanMiu - [`89fba5e`](https://github.com/eea/volto-n2k/commit/89fba5e5db41aa955ba2d0ed58c9f0042c461504)]
136
137
  - Group species by id_eunis in species list [razvanMiu - [`543c957`](https://github.com/eea/volto-n2k/commit/543c9573b53acd8eecc9afbb6ae7beeddba53966)]
137
- - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`2ca3e4c`](https://github.com/eea/volto-n2k/commit/2ca3e4c092211f92339791d71db81f5b4ca2d562)]
138
138
  - update maps - species and habitats distribution maps [Claudia Ifrim - [`ad12eb1`](https://github.com/eea/volto-n2k/commit/ad12eb141907d6f28444f1eafc3f687735d2a68d)]
139
139
  - update format for common name and author [Claudia Ifrim - [`26b7a2f`](https://github.com/eea/volto-n2k/commit/26b7a2f3d20c7701b57fb24f39fc7dfeceec3ce8)]
140
140
  - update format for species name (common / scientific) [Claudia Ifrim - [`abdedcf`](https://github.com/eea/volto-n2k/commit/abdedcfe645665031dedf050fd2c5cdde8c14a50)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-n2k",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "volto-n2k: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -16,7 +16,7 @@ const DefaultView = (props) => {
16
16
 
17
17
  useEffect(() => {
18
18
  if (removeTrailingSlash(props.location.pathname) === '/natura2000') {
19
- props.history.push(`/natura2000/${currentLang}`);
19
+ props.history.push(`/natura2000/${currentLang || 'en'}`);
20
20
  }
21
21
  /* eslint-disable-next-line */
22
22
  }, []);