Skip to content

Commit

Permalink
Merge pull request #106 from ymaheshwari1/#2gnzkbw
Browse files Browse the repository at this point in the history
Fixed: issue of orders not found after changing the section by assigning empty string to the queryString property before the method for fetching the orders is called(#2gnzkbw)
  • Loading branch information
adityasharma7 authored Jun 27, 2022
2 parents 9de8be4 + bd70f71 commit aa57ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Orders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ export default defineComponent({
});
},
segmentChanged (e: CustomEvent) {
this.queryString = ''
this.segmentSelected = e.detail.value
this.segmentSelected === 'open' ? this.getPickupOrders() : this.getPackedOrders();
this.queryString = ''
},
getShipGroups (items: any) {
// To get unique shipGroup, further it will use on ion-card iteration
Expand Down

0 comments on commit aa57ff9

Please sign in to comment.