@eeacms/volto-tabs-block 10.0.2 → 10.0.3

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,13 @@ 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
- ### [10.0.2](https://github.com/eea/volto-tabs-block/compare/10.0.1...10.0.2) - 21 April 2026
7
+ ### [10.0.3](https://github.com/eea/volto-tabs-block/compare/10.0.2...10.0.3) - 4 June 2026
8
8
 
9
9
  #### :bug: Bug Fixes
10
10
 
11
- - fix(tabs): deep‑clone blocks on copy/paste, ref #302532 [Miu Razvan - [`275bcb2`](https://github.com/eea/volto-tabs-block/commit/275bcb229faf7eeb02271d3e34e003607a48d496)]
11
+ - fix: .items on undefined - refs sentry #609609 [Alin Voinea - [`b2aa46b`](https://github.com/eea/volto-tabs-block/commit/b2aa46be528028d53a0c199d6c7fbd1cb831aa63)]
12
+
13
+ ### [10.0.2](https://github.com/eea/volto-tabs-block/compare/10.0.1...10.0.2) - 21 April 2026
12
14
 
13
15
  #### :hammer_and_wrench: Others
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tabs-block",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "description": "volto-tabs-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -268,7 +268,7 @@ const Edit = (props) => {
268
268
  blocks: {
269
269
  ...tabsData.blocks,
270
270
  [activeTab]: {
271
- ...(newFormData.blocks_layout.items.length > 0
271
+ ...(newFormData.blocks_layout?.items.length > 0
272
272
  ? newFormData
273
273
  : emptyTab({
274
274
  schema: schema?.properties?.data?.schema || {},