From 48e1f51554e9c18a611f8bde1fe22c52f93f0f27 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 31 Jul 2024 16:19:43 +0530 Subject: [PATCH] Removed: unused imports those were added for the conditional check of parking(#290) --- src/views/order-popover.vue | 8 +------- src/views/orders.vue | 3 +-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/order-popover.vue b/src/views/order-popover.vue index 0da1883d..0b7b7871 100644 --- a/src/views/order-popover.vue +++ b/src/views/order-popover.vue @@ -18,20 +18,14 @@ import { alertController, modalController, } from "@ionic/vue"; -import { computed, defineComponent } from "vue"; +import { defineComponent } from "vue"; import WarehouseModal from "@/views/warehouse-modal.vue"; import { useStore } from "@/store"; import PromiseDateModal from "@/views/promise-date-modal.vue"; -import { mapGetters } from "vuex"; export default defineComponent({ name: "OrderPopover", props: ['item'], - computed: { - ...mapGetters({ - currentEComStore: 'user/getCurrentEComStore' - }) - }, methods: { async releaseItem (item: any) { return this.store.dispatch("order/releaseItem", { diff --git a/src/views/orders.vue b/src/views/orders.vue index 6aea2ab1..2ca3e5ec 100644 --- a/src/views/orders.vue +++ b/src/views/orders.vue @@ -284,8 +284,7 @@ export default defineComponent({ selectedItemsToCancel: 'order.getSelectedItemsToCancel', selectedItemsCount: 'order/getSelectedItemsCount', userProfile: 'user/getUserProfile', - query: 'order/getQuery', - currentEComStore: 'user/getCurrentEComStore' + query: 'order/getQuery' }), }, async ionViewWillEnter() {