@contentful/field-editor-reference 8.3.0 → 8.3.1-canary.0

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.
@@ -149,7 +149,7 @@ function FetchingWrappedAssetCard(props) {
149
149
  releaseEntityStatus,
150
150
  onAddToRelease
151
151
  };
152
- if (status === 'loading') {
152
+ if (status === 'loading' || status === 'pending') {
153
153
  return props.viewType === 'link' ? /*#__PURE__*/ _react.createElement(_f36components.EntryCard, {
154
154
  size: "small",
155
155
  isLoading: true
@@ -150,7 +150,7 @@ function FetchingWrappedEntryCard(props) {
150
150
  }
151
151
  return card;
152
152
  }
153
- if (status === 'loading') {
153
+ if (status === 'loading' || status === 'pending') {
154
154
  return /*#__PURE__*/ _react.createElement(_f36components.EntryCard, {
155
155
  size: size,
156
156
  isLoading: true
@@ -98,7 +98,7 @@ export function FetchingWrappedAssetCard(props) {
98
98
  releaseEntityStatus,
99
99
  onAddToRelease
100
100
  };
101
- if (status === 'loading') {
101
+ if (status === 'loading' || status === 'pending') {
102
102
  return props.viewType === 'link' ? /*#__PURE__*/ React.createElement(EntryCard, {
103
103
  size: "small",
104
104
  isLoading: true
@@ -99,7 +99,7 @@ export function FetchingWrappedEntryCard(props) {
99
99
  }
100
100
  return card;
101
101
  }
102
- if (status === 'loading') {
102
+ if (status === 'loading' || status === 'pending') {
103
103
  return /*#__PURE__*/ React.createElement(EntryCard, {
104
104
  size: size,
105
105
  isLoading: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "8.3.0",
3
+ "version": "8.3.1-canary.0+711ed66b",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "registry": "https://npm.pkg.github.com/"
72
72
  },
73
- "gitHead": "b3a1d791df55536d6de78bb138b97224d6c0c70e"
73
+ "gitHead": "711ed66bf75ab1a1184d16868750a8dda151e149"
74
74
  }