@open-tender/utils 0.5.62 → 0.5.63
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/cjs/utils/cart.js +1 -1
- package/dist/esm/utils/cart.js +1 -1
- package/package.json +1 -1
package/dist/cjs/utils/cart.js
CHANGED
|
@@ -214,7 +214,7 @@ const makeOrderItemGroups = (optionGroups, isEdit, soldOut = [], requestedAt = n
|
|
|
214
214
|
const quantity = isSoldOut
|
|
215
215
|
? 0
|
|
216
216
|
: o.opt_is_default && !isEdit
|
|
217
|
-
? o.min_quantity
|
|
217
|
+
? o.min_quantity
|
|
218
218
|
: 0;
|
|
219
219
|
const cals = ((_a = o.nutritional_info) === null || _a === void 0 ? void 0 : _a.calories)
|
|
220
220
|
? parseInt(o.nutritional_info.calories.toString())
|
package/dist/esm/utils/cart.js
CHANGED
|
@@ -199,7 +199,7 @@ const makeOrderItemGroups = (optionGroups, isEdit, soldOut = [], requestedAt = n
|
|
|
199
199
|
const quantity = isSoldOut
|
|
200
200
|
? 0
|
|
201
201
|
: o.opt_is_default && !isEdit
|
|
202
|
-
? o.min_quantity
|
|
202
|
+
? o.min_quantity
|
|
203
203
|
: 0;
|
|
204
204
|
const cals = ((_a = o.nutritional_info) === null || _a === void 0 ? void 0 : _a.calories)
|
|
205
205
|
? parseInt(o.nutritional_info.calories.toString())
|
package/package.json
CHANGED