contentoh-components-library 21.5.4 → 21.5.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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.5.4",
3
+ "version": "21.5.5",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -701,10 +701,11 @@ export const ProviderProductEdition = ({
701
701
  };
702
702
  dataObject.articleData = dataObject.articleData.map((item) => {
703
703
  const attributeId = item.attributeId;
704
- if (approvedInputs.hasOwnProperty(attributeId)) {
704
+ item.isApproved = true;
705
+ /**if (approvedInputs.hasOwnProperty(attributeId)) {
705
706
  item.isApproved = true;
706
707
  }
707
- return item;
708
+ return item;**/
708
709
  });
709
710
 
710
711
  if (product?.orderId) dataObject["orderId"] = product?.orderId;