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() {