Skip to content

Commit

Permalink
Improved: Changed the emitted event name when the selected product st…
Browse files Browse the repository at this point in the history
…ore is changed (#dxp/193)
  • Loading branch information
R-Sourabh committed Dec 17, 2024
1 parent b1e38cd commit 4e6966b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default defineComponent({
instanceUrl: 'user/getInstanceUrl',
userProfile: 'user/getUserProfile',
locale: 'user/getLocale',
currentFacility: 'user/getCurrentFacility',
})
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<section>
<DxpOmsInstanceNavigator />
<DxpFacilitySwitcher @updateFacility="updateFacility($event)"/>
<DxpProductStoreSelector @updateEcomStore="updateEcomStore($event)"/>
<DxpProductStoreSelector @updateEComStore="updateEComStore($event)"/>

<ion-card>
<ion-card-header>
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 4e6966b

Please sign in to comment.