Skip to content

Commit

Permalink
Fixed: issue of orders not found after changing the section by assign…
Browse files Browse the repository at this point in the history
…ing empty string to the queryString before the method for fetching the orders is called(#2gnzkbw)
  • Loading branch information
ymaheshwari1 committed Jun 27, 2022
1 parent 9de8be4 commit bd70f71
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 bd70f71

Please sign in to comment.