Skip to content

Commit

Permalink
Merge pull request #103 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea committed Dec 10, 2023
2 parents 1687d5f + 4dfc3e4 commit f5ebfc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [10.4.5](https://github.com/eea/volto-accordion-block/compare/10.4.4...10.4.5) - 10 December 2023

### [10.4.4](https://github.com/eea/volto-accordion-block/compare/10.4.3...10.4.4) - 24 November 2023

#### :bug: Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-accordion-block",
"version": "10.4.4",
"version": "10.4.5",
"description": "volto-accordion-block: Volto accordion block",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
4 changes: 2 additions & 2 deletions src/components/manage/Widgets/PanelsWidget.jsx
Expand Up @@ -66,7 +66,7 @@ const PanelsWidget = (props) => {
},
blocks_layout: {
...value.blocks_layout,
items: [...value.blocks_layout?.items, newId],
items: [...(value.blocks_layout?.items || []), newId],
},
});
}}
Expand Down Expand Up @@ -133,7 +133,7 @@ const PanelsWidget = (props) => {
blocks_layout: {
...value.blocks_layout,
items: without(
[...value.blocks_layout?.items],
[...(value.blocks_layout?.items || [])],
childId,
),
},
Expand Down

0 comments on commit f5ebfc5

Please sign in to comment.