contentoh-components-library 21.5.4 → 21.5.6
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.
|
@@ -1225,12 +1225,11 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1225
1225
|
};
|
|
1226
1226
|
dataObject.articleData = dataObject.articleData.map(function (item) {
|
|
1227
1227
|
var attributeId = item.attributeId;
|
|
1228
|
-
|
|
1229
|
-
if (approvedInputs.hasOwnProperty(attributeId)) {
|
|
1228
|
+
item.isApproved = true;
|
|
1229
|
+
/**if (approvedInputs.hasOwnProperty(attributeId)) {
|
|
1230
1230
|
item.isApproved = true;
|
|
1231
1231
|
}
|
|
1232
|
-
|
|
1233
|
-
return item;
|
|
1232
|
+
return item;**/
|
|
1234
1233
|
});
|
|
1235
1234
|
if (product !== null && product !== void 0 && product.orderId) dataObject["orderId"] = product === null || product === void 0 ? void 0 : product.orderId;
|
|
1236
1235
|
console.log("dataObject", dataObject);
|
package/package.json
CHANGED
|
@@ -701,9 +701,10 @@ export const ProviderProductEdition = ({
|
|
|
701
701
|
};
|
|
702
702
|
dataObject.articleData = dataObject.articleData.map((item) => {
|
|
703
703
|
const attributeId = item.attributeId;
|
|
704
|
-
|
|
704
|
+
item.isApproved = true;
|
|
705
|
+
/**if (approvedInputs.hasOwnProperty(attributeId)) {
|
|
705
706
|
item.isApproved = true;
|
|
706
|
-
}
|
|
707
|
+
}**/
|
|
707
708
|
return item;
|
|
708
709
|
});
|
|
709
710
|
|