@pisell/pisellos 2.2.127 → 2.2.128

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.
@@ -314,7 +314,7 @@ export function filterBookingsFromOrders(orders, filters) {
314
314
  }
315
315
  paginatedList.push(_objectSpread(_objectSpread({}, booking), {}, {
316
316
  order: orderInfo,
317
- products: productsForBooking(order, booking)
317
+ products: order.products
318
318
  }));
319
319
  }
320
320
  totalCount++;
@@ -396,7 +396,7 @@ export function filterBookings(bookings, filters) {
396
396
  if (!matchBooking(booking, order, ctx)) continue;
397
397
  if (totalCount >= startIndex && paginatedList.length < size) {
398
398
  paginatedList.push(_objectSpread(_objectSpread({}, booking), {}, {
399
- products: productsForBooking(booking.order, booking)
399
+ products: booking.order.products
400
400
  }));
401
401
  }
402
402
  totalCount++;
@@ -298,7 +298,7 @@ function filterBookingsFromOrders(orders, filters) {
298
298
  paginatedList.push({
299
299
  ...booking,
300
300
  order: orderInfo,
301
- products: productsForBooking(order, booking)
301
+ products: order.products
302
302
  });
303
303
  }
304
304
  totalCount++;
@@ -364,7 +364,7 @@ function filterBookings(bookings, filters) {
364
364
  if (totalCount >= startIndex && paginatedList.length < size) {
365
365
  paginatedList.push({
366
366
  ...booking,
367
- products: productsForBooking(booking.order, booking)
367
+ products: booking.order.products
368
368
  });
369
369
  }
370
370
  totalCount++;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.127",
4
+ "version": "2.2.128",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",