Skip to content

Commit

Permalink
Improved: reverting the toast changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 3, 2023
1 parent 0fdd372 commit 5446ac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/modules/order/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ const actions: ActionTree<OrderState , RootState> ={
payload.order = { ...payload.order, readyToShip: true }
}
await dispatch('updateCurrent', { order : payload.order })
showToast(translate("Order packed and ready for delivery"))
} else {
showToast(translate("Something went wrong"))
}
Expand Down

0 comments on commit 5446ac6

Please sign in to comment.