Skip to content

Commit

Permalink
Fixed: Updated the in progress order list on adding new shipment box …
Browse files Browse the repository at this point in the history
…from order detail page in order to fix the issue where box added from order detail page was not appears on the list page on clicking back button (#838).
  • Loading branch information
ravilodhi committed Nov 15, 2024
1 parent 14c12d2 commit 1d57569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ export default defineComponent({
if(!hasError(resp)) {
showToast(translate('Box added successfully'))
await this.store.dispatch('order/getInProgressOrder', { orderId: this.orderId, shipGroupSeqId: this.shipGroupSeqId, isModified: true })
this.store.dispatch('order/updateInProgressOrder', this.order);
} else {
throw resp.data
}
Expand Down

0 comments on commit 1d57569

Please sign in to comment.