@eeacms/volto-eea-website-theme 3.0.0 → 3.1.0

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,7 +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
- ### [3.0.0](https://github.com/eea/volto-eea-website-theme/compare/2.4.0...3.0.0) - 21 October 2024
7
+ ### [3.1.0](https://github.com/eea/volto-eea-website-theme/compare/3.0.0...3.1.0) - 5 November 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - fix Grid conversion, ref #278618 [Miu Razvan - [`f80b786`](https://github.com/eea/volto-eea-website-theme/commit/f80b7869b4ac060bf35250cf5045ab930a0003de)]
12
+ ## [3.0.0](https://github.com/eea/volto-eea-website-theme/compare/2.4.0...3.0.0) - 21 October 2024
8
13
 
9
14
  #### :nail_care: Enhancements
10
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -13,7 +13,7 @@ const convertTeaserToGridIfNecessaryAndTransformEmptyBlocksToSlate = (data) => {
13
13
  blocks: data?.columns?.reduce((acc, current) => {
14
14
  return {
15
15
  ...acc,
16
- [current?.id]: { current, '@type': current['@type'] || 'slate' },
16
+ [current?.id]: { ...current, '@type': current['@type'] || 'slate' },
17
17
  };
18
18
  }, {}),
19
19
  };