@eeacms/volto-tabs-block 7.0.3 → 7.0.4
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,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
|
+
### [7.0.4](https://github.com/eea/volto-tabs-block/compare/7.0.3...7.0.4) - 4 December 2023
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: check if schema.propierties.data exists - refs #261239 [dobri1408 - [`4bf628e`](https://github.com/eea/volto-tabs-block/commit/4bf628e4d0fdcb1c7919553bdcfedbea9a7e0a2e)]
|
|
12
|
+
|
|
7
13
|
### [7.0.3](https://github.com/eea/volto-tabs-block/compare/7.0.2...7.0.3) - 29 November 2023
|
|
8
14
|
|
|
9
15
|
#### :bug: Bug Fixes
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ export const MenuItem = (props) => {
|
|
|
59
59
|
...tabsData.blocks,
|
|
60
60
|
[tabId]: {
|
|
61
61
|
...emptyTab({
|
|
62
|
-
schema: schema
|
|
62
|
+
schema: schema?.properties?.data?.schema || {},
|
|
63
63
|
intl,
|
|
64
64
|
}),
|
|
65
65
|
},
|
|
@@ -267,7 +267,7 @@ const Edit = (props) => {
|
|
|
267
267
|
...(newFormData.blocks_layout.items.length > 0
|
|
268
268
|
? newFormData
|
|
269
269
|
: emptyTab({
|
|
270
|
-
schema: schema
|
|
270
|
+
schema: schema?.properties?.data?.schema || {},
|
|
271
271
|
intl,
|
|
272
272
|
})),
|
|
273
273
|
},
|