@contentful/field-editor-reference 4.2.1 → 4.2.2
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 +6 -0
- package/dist/field-editor-reference.cjs.development.js +3 -3
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +3 -3
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.2.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.2.1...@contentful/field-editor-reference@4.2.2) (2022-03-31)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- pass already known entry link id to onAction ([#1089](https://github.com/contentful/field-editors/issues/1089)) ([5b30d2f](https://github.com/contentful/field-editors/commit/5b30d2fade2edce5c99956108167aa5732b9bfbb))
|
|
11
|
+
|
|
6
12
|
## [4.2.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.2.0...@contentful/field-editor-reference@4.2.1) (2022-03-29)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
@@ -2622,7 +2622,7 @@ function FetchingWrappedEntryCard(props) {
|
|
|
2622
2622
|
switch (_context.prev = _context.next) {
|
|
2623
2623
|
case 0:
|
|
2624
2624
|
_context.next = 2;
|
|
2625
|
-
return openEntry(props.sdk,
|
|
2625
|
+
return openEntry(props.sdk, props.entryId, {
|
|
2626
2626
|
bulkEditing: props.parameters.instance.bulkEditing,
|
|
2627
2627
|
index: props.index
|
|
2628
2628
|
});
|
|
@@ -2632,7 +2632,7 @@ function FetchingWrappedEntryCard(props) {
|
|
|
2632
2632
|
props.onAction && props.onAction({
|
|
2633
2633
|
entity: 'Entry',
|
|
2634
2634
|
type: 'edit',
|
|
2635
|
-
id:
|
|
2635
|
+
id: props.entryId,
|
|
2636
2636
|
contentTypeId: get(entry, 'sys.contentType.sys.id'),
|
|
2637
2637
|
slide: slide
|
|
2638
2638
|
});
|
|
@@ -2655,7 +2655,7 @@ function FetchingWrappedEntryCard(props) {
|
|
|
2655
2655
|
props.onAction && props.onAction({
|
|
2656
2656
|
entity: 'Entry',
|
|
2657
2657
|
type: 'delete',
|
|
2658
|
-
id:
|
|
2658
|
+
id: props.entryId,
|
|
2659
2659
|
contentTypeId: get(entry, 'sys.contentType.sys.id')
|
|
2660
2660
|
});
|
|
2661
2661
|
};
|