@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 +6 -0
- package/dist/field-editor-reference.cjs.development.js +7 -2
- 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 +7 -2
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1793,7 +1793,7 @@ var ScheduledIconWithTooltip = function ScheduledIconWithTooltip(_ref) {
|
|
|
1793
1793
|
error: e
|
|
1794
1794
|
});
|
|
1795
1795
|
});
|
|
1796
|
-
}, []);
|
|
1796
|
+
}, [getEntityScheduledActions, entityType, entityId]);
|
|
1797
1797
|
|
|
1798
1798
|
if (status.type === 'loading' || status.type === 'error') {
|
|
1799
1799
|
return null;
|
|
@@ -1826,7 +1826,7 @@ function AssetThumbnail(props) {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
1828
|
function reducer(state, action) {
|
|
1829
|
-
var _extends2, _extends3, _extends4, _extends5;
|
|
1829
|
+
var _extends2, _extends3, _extends4, _extends5, _extends6;
|
|
1830
1830
|
|
|
1831
1831
|
switch (action.type) {
|
|
1832
1832
|
case 'set_entry':
|
|
@@ -1849,6 +1849,11 @@ function reducer(state, action) {
|
|
|
1849
1849
|
assets: _extends({}, state.assets, (_extends5 = {}, _extends5[action.id] = 'failed', _extends5))
|
|
1850
1850
|
});
|
|
1851
1851
|
|
|
1852
|
+
case 'set_scheduled_actions':
|
|
1853
|
+
return _extends({}, state, {
|
|
1854
|
+
scheduledActions: _extends({}, state.scheduledActions, (_extends6 = {}, _extends6[action.key] = action.actions, _extends6))
|
|
1855
|
+
});
|
|
1856
|
+
|
|
1852
1857
|
default:
|
|
1853
1858
|
return state;
|
|
1854
1859
|
}
|