Skip to content

Commit

Permalink
Improved: updating the carrier methods of detail page when changing c…
Browse files Browse the repository at this point in the history
…arrier from the generate tracking code modal (hotwax#801)
  • Loading branch information
amansinghbais committed Jan 7, 2025
1 parent debb030 commit ff7c09c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,10 @@ export default defineComponent({
showToast(translate("Failed to update shipment method detail."));
}
},
updateCarrierShipmentDetails(carrierPartyId: string, shipmentMethodTypeId: string) {
async updateCarrierShipmentDetails(carrierPartyId: string, shipmentMethodTypeId: string) {
this.carrierPartyId = carrierPartyId
this.shipmentMethodTypeId = shipmentMethodTypeId
this.carrierMethods = await this.getProductStoreShipmentMethods(carrierPartyId);
this.shipmentLabelErrorMessages = ""
},
async fetchKitComponent(orderItem: any, isOtherShipment = false ) {
Expand Down

0 comments on commit ff7c09c

Please sign in to comment.