@contentful/field-editor-reference 4.6.8 → 4.6.9
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 +4 -0
- 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 +4 -0
- 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.6.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.8...@contentful/field-editor-reference@4.6.9) (2022-08-09)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- version compare [TOL-339] ([#1209](https://github.com/contentful/field-editors/issues/1209)) ([3723fd6](https://github.com/contentful/field-editors/commit/3723fd6d47c30acc6b3f8c892836d54a1303791c))
|
|
11
|
+
|
|
6
12
|
## [4.6.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.7...@contentful/field-editor-reference@4.6.8) (2022-07-29)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @contentful/field-editor-reference
|
|
@@ -3622,6 +3622,10 @@ function FetchingWrappedAssetCard(props) {
|
|
|
3622
3622
|
assets = _useEntities.assets;
|
|
3623
3623
|
|
|
3624
3624
|
React.useEffect(function () {
|
|
3625
|
+
if (!props.assetId) {
|
|
3626
|
+
return;
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3625
3629
|
getAsset(props.assetId); // eslint-disable-next-line react-hooks/exhaustive-deps -- TODO: Evaluate the dependencies
|
|
3626
3630
|
}, [props.assetId]);
|
|
3627
3631
|
var asset = assets[props.assetId];
|