@eeacms/volto-tabs-block 1.2.11 → 1.2.12
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 +7 -1
- package/package.json +1 -1
- package/src/components/Edit.jsx +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,15 @@ 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
|
+
#### [1.2.12](https://github.com/eea/volto-tabs-block/compare/1.2.11...1.2.12)
|
|
8
|
+
|
|
9
|
+
- Make sure metadata block works within Tabs block [`65a6bf4`](https://github.com/eea/volto-tabs-block/commit/65a6bf41ab81e308fd75c6525616a4735dbfe456)
|
|
10
|
+
|
|
7
11
|
#### [1.2.11](https://github.com/eea/volto-tabs-block/compare/1.2.10...1.2.11)
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
> 4 January 2022
|
|
14
|
+
|
|
15
|
+
- Fix cypress tests when using with volto-slate [`#16`](https://github.com/eea/volto-tabs-block/pull/16)
|
|
10
16
|
|
|
11
17
|
#### [1.2.10](https://github.com/eea/volto-tabs-block/compare/1.2.9...1.2.10)
|
|
12
18
|
|
package/package.json
CHANGED
package/src/components/Edit.jsx
CHANGED
|
@@ -14,7 +14,7 @@ import cx from 'classnames';
|
|
|
14
14
|
import config from '@plone/volto/registry';
|
|
15
15
|
|
|
16
16
|
const Edit = (props) => {
|
|
17
|
-
const { onChangeBlock } = props;
|
|
17
|
+
const { onChangeBlock, onChangeField } = props;
|
|
18
18
|
const { data = {}, block = null } = props;
|
|
19
19
|
const template = data.template || 'default';
|
|
20
20
|
const tabsData = data.data || {};
|
|
@@ -99,6 +99,8 @@ const Edit = (props) => {
|
|
|
99
99
|
},
|
|
100
100
|
},
|
|
101
101
|
});
|
|
102
|
+
} else {
|
|
103
|
+
onChangeField(id, value);
|
|
102
104
|
}
|
|
103
105
|
};
|
|
104
106
|
|