zakeke-configurator-react 0.0.193 → 0.0.194
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69259,10 +69259,10 @@ var DesignPriceCalculatorRuleBased = /*#__PURE__*/_createClass(function DesignPr
|
|
|
69259
69259
|
return side.get('sideID');
|
|
69260
69260
|
});
|
|
69261
69261
|
var sideIDsAndPrintTypesID = sidesIDs.map(function (sideID) {
|
|
69262
|
-
var
|
|
69263
|
-
return [sideID, ((_design$get$find = design.get('sidesPrintTypes').find(function (sPT) {
|
|
69262
|
+
var sidePrintType = design.get('sidesPrintTypes').find(function (sPT) {
|
|
69264
69263
|
return sPT.get('sideID') === sideID;
|
|
69265
|
-
})
|
|
69264
|
+
});
|
|
69265
|
+
return [sideID, sidePrintType ? sidePrintType.get('printTypeID') : design.get('printTypeID')];
|
|
69266
69266
|
});
|
|
69267
69267
|
var pricingSidesMapping = new Map();
|
|
69268
69268
|
var notRegroupedPricingAndSideIDs = [sideIDsAndPrintTypesID.map(function (sidePT) {
|