Skip to content

Commit

Permalink
Merge pull request #366 from amansinghbais/343-return-product
Browse files Browse the repository at this point in the history
Fixed: returns status not updating after succesfully receiving it (#343)
  • Loading branch information
ymaheshwari1 authored Apr 2, 2024
2 parents 5f18909 + 05813e1 commit 0870d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ReturnDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default defineComponent({
} as any
}
},
async mounted() {
async ionViewWillEnter() {
const current = await this.store.dispatch('return/setCurrent', { shipmentId: this.$route.params.id })
if(!this.isReturnReceivable(current.statusId)) {
Expand Down

0 comments on commit 0870d3c

Please sign in to comment.