@eeacms/volto-n2k 1.0.5 → 1.0.7

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,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
- ### [1.0.5](https://github.com/eea/volto-n2k/compare/1.0.4...1.0.5) - 13 December 2022
7
+ ### [1.0.7](https://github.com/eea/volto-n2k/compare/1.0.6...1.0.7) - 22 December 2022
8
+
9
+ #### :hammer_and_wrench: Others
8
10
 
9
- #### :rocket: New Features
11
+ - Change banners backgrounds [Miu Razvan - [`983af1d`](https://github.com/eea/volto-n2k/commit/983af1dcd53db404190eb632ce138604b8e74870)]
12
+ ### [1.0.6](https://github.com/eea/volto-n2k/compare/1.0.5...1.0.6) - 14 December 2022
10
13
 
11
- - feat: small improvments - #158303 [Miu Razvan - [`0c6cba7`](https://github.com/eea/volto-n2k/commit/0c6cba7dabd5feaa4f95786ec8171988adeff344)]
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - update [Miu Razvan - [`e743c1c`](https://github.com/eea/volto-n2k/commit/e743c1c6acd838b359c93b8a922bbbcf247e28a2)]
17
+ ### [1.0.5](https://github.com/eea/volto-n2k/compare/1.0.4...1.0.5) - 13 December 2022
12
18
 
13
19
  #### :hammer_and_wrench: Others
14
20
 
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.7",
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
  }, []);