pds-dev-kit-web-test 2.7.538 → 2.7.539
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/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +1 -1
- package/package.json +1 -1
|
@@ -106,7 +106,7 @@ function Button(props) {
|
|
|
106
106
|
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
|
|
107
107
|
if (isDataConnected) {
|
|
108
108
|
if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
|
|
109
|
-
if (!queryContext.queryData
|
|
109
|
+
if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
|
|
110
110
|
if (mode === 'EDIT') {
|
|
111
111
|
return (0, jsx_runtime_1.jsx)(DataNotFound_1.default, { stringKey: "str_10478" });
|
|
112
112
|
}
|
|
@@ -118,7 +118,7 @@ function Image(props) {
|
|
|
118
118
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
|
119
119
|
return true;
|
|
120
120
|
}
|
|
121
|
-
if (!queryContext.queryData
|
|
121
|
+
if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA)) {
|
|
122
122
|
if (mode === 'EDIT') {
|
|
123
123
|
return true;
|
|
124
124
|
}
|
|
@@ -94,7 +94,7 @@ function Text(props) {
|
|
|
94
94
|
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
|
|
95
95
|
if (isDataConnected) {
|
|
96
96
|
if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
|
|
97
|
-
if (!queryContext.queryData
|
|
97
|
+
if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
|
|
98
98
|
if (mode === 'EDIT') {
|
|
99
99
|
return (0, jsx_runtime_1.jsx)(DataNotFound_1.default, { stringKey: "str_10478" });
|
|
100
100
|
}
|
|
@@ -152,7 +152,7 @@ function VideoPlayer(props) {
|
|
|
152
152
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
|
153
153
|
return true;
|
|
154
154
|
}
|
|
155
|
-
if (!queryContext.queryData
|
|
155
|
+
if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA)) {
|
|
156
156
|
if (mode === 'EDIT') {
|
|
157
157
|
return true;
|
|
158
158
|
}
|