@open-tender/utils 0.5.55 → 0.5.56
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 -0
- package/dist/esm/utils/cart.js +1 -0
- package/package.json +1 -1
package/dist/cjs/utils/cart.js
CHANGED
|
@@ -382,6 +382,7 @@ const rehydrateOrderItem = (menuItem, simpleCartItem, soldOut = [], requestedAt
|
|
|
382
382
|
const orderItem = (0, exports.makeOrderItem)(menuItem, true, soldOut, simpleCartItem, undefined, requestedAt);
|
|
383
383
|
orderItem.quantity = simpleCartItem.quantity || 1;
|
|
384
384
|
const groupsLookup = makeSimpleGroupsLookup(simpleCartItem.groups);
|
|
385
|
+
console.log('groupsLookup', simpleCartItem.groups, groupsLookup);
|
|
385
386
|
if (groupsLookup) {
|
|
386
387
|
orderItem.groups = rehydrateGroups(orderItem.groups, groupsLookup);
|
|
387
388
|
}
|
package/dist/esm/utils/cart.js
CHANGED
|
@@ -365,6 +365,7 @@ export const rehydrateOrderItem = (menuItem, simpleCartItem, soldOut = [], reque
|
|
|
365
365
|
const orderItem = makeOrderItem(menuItem, true, soldOut, simpleCartItem, undefined, requestedAt);
|
|
366
366
|
orderItem.quantity = simpleCartItem.quantity || 1;
|
|
367
367
|
const groupsLookup = makeSimpleGroupsLookup(simpleCartItem.groups);
|
|
368
|
+
console.log('groupsLookup', simpleCartItem.groups, groupsLookup);
|
|
368
369
|
if (groupsLookup) {
|
|
369
370
|
orderItem.groups = rehydrateGroups(orderItem.groups, groupsLookup);
|
|
370
371
|
}
|
package/package.json
CHANGED