From 4e6966b4360c3d02fe73634155e1e21a61fd2621 Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Tue, 17 Dec 2024 16:52:03 +0530 Subject: [PATCH] Improved: Changed the emitted event name when the selected product store is changed (#dxp/193) --- src/App.vue | 1 - src/views/Settings.vue | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6ce0e98b..6e5e31d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -41,7 +41,6 @@ export default defineComponent({ instanceUrl: 'user/getInstanceUrl', userProfile: 'user/getUserProfile', locale: 'user/getLocale', - currentFacility: 'user/getCurrentFacility', }) }, methods: { diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 0158e66b..896a2af0 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -39,7 +39,7 @@
- + @@ -289,7 +289,7 @@ export default defineComponent({ await this.store.dispatch('user/fetchNotificationPreferences') }, methods: { - updateEcomStore(selectedProductStore: any) { + updateEComStore(selectedProductStore: any) { this.store.dispatch('user/setEComStore', selectedProductStore?.productStoreId) }, useNewRejectionApi() {