@eeacms/volto-cca-policy 0.1.61 → 0.1.63

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,6 +4,22 @@ 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
+ ### [0.1.63](https://github.com/eea/volto-cca-policy/compare/0.1.62...0.1.63) - 23 January 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Cleanup facets in cca search [Tiberiu Ichim - [`74aa852`](https://github.com/eea/volto-cca-policy/commit/74aa85235304d395a8651a7317d66a3d2994d383)]
12
+ ### [0.1.62](https://github.com/eea/volto-cca-policy/compare/0.1.61...0.1.62) - 22 January 2024
13
+
14
+ #### :bug: Bug Fixes
15
+
16
+ - fix: preview image in search listing [kreafox - [`e164430`](https://github.com/eea/volto-cca-policy/commit/e1644300d19fa58fa69fdd0e5b23041809ca69a6)]
17
+ - fix: stories search listing + show images [kreafox - [`081ff11`](https://github.com/eea/volto-cca-policy/commit/081ff115adfcab58dfe8e7f9fce09cc71e9281f5)]
18
+
19
+ #### :nail_care: Enhancements
20
+
21
+ - change: separate mission styling [kreafox - [`a3d972c`](https://github.com/eea/volto-cca-policy/commit/a3d972ce871649af92f2c9b7ba8abcdfff969852)]
22
+
7
23
  ### [0.1.61](https://github.com/eea/volto-cca-policy/compare/0.1.60...0.1.61) - 17 January 2024
8
24
 
9
25
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -249,7 +249,7 @@ class ContentTypeLayout extends Component {
249
249
  * @returns {undefined}
250
250
  */
251
251
  onEnableBlocks = () => {
252
- const { properties = {} } = this.props.schema;
252
+ const properties = this.props.schema?.properties || {};
253
253
  const blocksFieldName = getBlocksFieldname(properties);
254
254
  const blocksLayoutFieldname = getBlocksLayoutFieldname(properties);
255
255
  const schema = {