From e8d94e7251e7d9c898b3006a4fa566edbcf323b2 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 18 Jun 2024 18:44:45 +0530 Subject: [PATCH 1/2] Improved: removed distance limit for fetching order and updated queue for fetching items --- src/views/Order.vue | 2 +- src/views/PickupLocationModal.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/Order.vue b/src/views/Order.vue index bcbd4fb0..ab80f8f3 100644 --- a/src/views/Order.vue +++ b/src/views/Order.vue @@ -200,7 +200,7 @@ export default defineComponent({ order = resp.data; const productIds: any = new Set(); order.shipGroup = order.shipGroup.filter((group: any) => { - if(group.facilityId === '_NA_') { + if(group.facilityId === 'PICKUP_REJECTED') { group.selectedShipmentMethodTypeId = group.shipmentMethodTypeId; group.items = group.items.filter((item: any) => { if (item.status == 'ITEM_CANCELLED') return false; diff --git a/src/views/PickupLocationModal.vue b/src/views/PickupLocationModal.vue index 8bcb84fb..de9780ca 100644 --- a/src/views/PickupLocationModal.vue +++ b/src/views/PickupLocationModal.vue @@ -130,7 +130,6 @@ export default defineComponent({ if (point) { payload.point = point - payload.distance = process.env.VUE_APP_DEFAULT_STORELOOKUP_DISTANCE ? process.env.VUE_APP_DEFAULT_STORELOOKUP_DISTANCE : 50 } try { From 98d6b3852c8fd68d3e944faf11fd6b7709b5fb8d Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 18 Jun 2024 18:56:37 +0530 Subject: [PATCH 2/2] Reverted: unwanted entry in env --- .env.example | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.env.example b/.env.example index f8f7b7f3..3d25a5d4 100644 --- a/.env.example +++ b/.env.example @@ -3,5 +3,4 @@ VUE_APP_I18N_FALLBACK_LOCALE=en VUE_APP_CACHE_MAX_AGE=3600 VUE_APP_VIEW_SIZE=60 VUE_APP_BASE_URL= -VUE_APP_PERMISSION_ID= -VUE_APP_DEFAULT_STORELOOKUP_DISTANCE=50 \ No newline at end of file +VUE_APP_PERMISSION_ID= \ No newline at end of file