Skip to content

Commit

Permalink
Improved: emitter name for store selection (hotwax#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 5, 2024
1 parent c54056c commit 7a38081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<section>
<DxpOmsInstanceNavigator />
<DxpProductStoreSelector @updateEComStore="handleEComStoreUpdate" />
<DxpProductStoreSelector @updateEComStore="updateEComStore" />
</section>

<hr />
Expand Down Expand Up @@ -158,7 +158,7 @@ export default defineComponent({
goToLaunchpad() {
window.location.href = `${process.env.VUE_APP_LOGIN_URL}`
},
async handleEComStoreUpdate(selectedProductStore: any) {
async updateEComStore(selectedProductStore: any) {
await useProductIdentificationStore().getIdentificationPref(selectedProductStore.productStoreId)
.catch((error) => logger.error(error));
},
Expand Down

0 comments on commit 7a38081

Please sign in to comment.