From bd70f71e56dd49ce8dfaa423bbb8c4612215a2e0 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 27 Jun 2022 16:47:07 +0530 Subject: [PATCH] Fixed: issue of orders not found after changing the section by assigning empty string to the queryString before the method for fetching the orders is called(#2gnzkbw) --- src/views/Orders.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Orders.vue b/src/views/Orders.vue index 47a2f56e2..ff87f44af 100644 --- a/src/views/Orders.vue +++ b/src/views/Orders.vue @@ -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