@contentful/field-editor-reference 4.3.4 → 4.3.5

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
@@ -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.3.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.4...@contentful/field-editor-reference@4.3.5) (2022-05-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - fix caching in references entity store ([#1137](https://github.com/contentful/field-editors/issues/1137)) ([1cd8c86](https://github.com/contentful/field-editors/commit/1cd8c861d41d32898ab7bf6b02044462c9f2ca91))
11
+
6
12
  ## [4.3.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.3...@contentful/field-editor-reference@4.3.4) (2022-05-06)
7
13
 
8
14
  ### Bug Fixes
@@ -1800,7 +1800,7 @@ var ScheduledIconWithTooltip = function ScheduledIconWithTooltip(_ref) {
1800
1800
  error: e
1801
1801
  });
1802
1802
  });
1803
- }, []);
1803
+ }, [getEntityScheduledActions, entityType, entityId]);
1804
1804
 
1805
1805
  if (status.type === 'loading' || status.type === 'error') {
1806
1806
  return null;
@@ -1833,7 +1833,7 @@ function AssetThumbnail(props) {
1833
1833
  }
1834
1834
 
1835
1835
  function reducer(state, action) {
1836
- var _extends2, _extends3, _extends4, _extends5;
1836
+ var _extends2, _extends3, _extends4, _extends5, _extends6;
1837
1837
 
1838
1838
  switch (action.type) {
1839
1839
  case 'set_entry':
@@ -1856,6 +1856,11 @@ function reducer(state, action) {
1856
1856
  assets: _extends({}, state.assets, (_extends5 = {}, _extends5[action.id] = 'failed', _extends5))
1857
1857
  });
1858
1858
 
1859
+ case 'set_scheduled_actions':
1860
+ return _extends({}, state, {
1861
+ scheduledActions: _extends({}, state.scheduledActions, (_extends6 = {}, _extends6[action.key] = action.actions, _extends6))
1862
+ });
1863
+
1859
1864
  default:
1860
1865
  return state;
1861
1866
  }