@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.
@@ -2615,7 +2615,7 @@ function FetchingWrappedEntryCard(props) {
2615
2615
  switch (_context.prev = _context.next) {
2616
2616
  case 0:
2617
2617
  _context.next = 2;
2618
- return openEntry(props.sdk, get(entry, 'sys.id'), {
2618
+ return openEntry(props.sdk, props.entryId, {
2619
2619
  bulkEditing: props.parameters.instance.bulkEditing,
2620
2620
  index: props.index
2621
2621
  });
@@ -2625,7 +2625,7 @@ function FetchingWrappedEntryCard(props) {
2625
2625
  props.onAction && props.onAction({
2626
2626
  entity: 'Entry',
2627
2627
  type: 'edit',
2628
- id: get(entry, 'sys.id'),
2628
+ id: props.entryId,
2629
2629
  contentTypeId: get(entry, 'sys.contentType.sys.id'),
2630
2630
  slide: slide
2631
2631
  });
@@ -2648,7 +2648,7 @@ function FetchingWrappedEntryCard(props) {
2648
2648
  props.onAction && props.onAction({
2649
2649
  entity: 'Entry',
2650
2650
  type: 'delete',
2651
- id: get(entry, 'sys.id'),
2651
+ id: props.entryId,
2652
2652
  contentTypeId: get(entry, 'sys.contentType.sys.id')
2653
2653
  });
2654
2654
  };