diff --git a/src/store/modules/order/actions.ts b/src/store/modules/order/actions.ts index 281b3d85..718d7f17 100644 --- a/src/store/modules/order/actions.ts +++ b/src/store/modules/order/actions.ts @@ -980,7 +980,7 @@ const actions: ActionTree = { shipGroups = resp.data.grouped.shipGroupSeqId.groups // creating the key as orders as the product information action accept only the orders as a param - this.dispatch('product/getProductInformation', { orders: shipGroups }) + await this.dispatch('product/getProductInformation', { orders: shipGroups }) } else { throw resp.data } @@ -1239,7 +1239,7 @@ const actions: ActionTree = { return reservedShipGroup ? { ...shipGroup, - items: reservedShipGroupForOrder.doclist.docs, + items: removeKitComponents({ items: reservedShipGroupForOrder.doclist.docs }), carrierPartyId: reservedShipGroup.carrierPartyId, shipmentId: reservedShipGroup.shipmentId, category: getOrderCategory(reservedShipGroupForOrder.doclist.docs[0])