From 43f194c288f87f87c7a6c4a02dd37e8bc08cec2f Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 16 Dec 2024 15:38:23 +0530 Subject: [PATCH] Implemented: support to disable functionality when test feature is enabled, and implemented functionality for the test route feature(#254) --- src/store/modules/product/getters.ts | 1 - src/views/BrokeringQuery.vue | 109 +++++--- src/views/BrokeringRouteTest.vue | 372 +++++++++++++++++++++++++++ 3 files changed, 450 insertions(+), 32 deletions(-) create mode 100644 src/views/BrokeringRouteTest.vue diff --git a/src/store/modules/product/getters.ts b/src/store/modules/product/getters.ts index e8c49b6..58a07dc 100644 --- a/src/store/modules/product/getters.ts +++ b/src/store/modules/product/getters.ts @@ -7,7 +7,6 @@ const getters: GetterTree = { return state.products }, getProductById: (state) => (id: string) => { - console.log('id', id) return state.products[id] || {} }, getProductStock: (state) => (productId: string, facilityId: string) => { diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue index ea1df9f..56a50ff 100644 --- a/src/views/BrokeringQuery.vue +++ b/src/views/BrokeringQuery.vue @@ -13,7 +13,7 @@