Skip to content

Commit

Permalink
Improved: Instead of setting the eCom store preference, directly upda…
Browse files Browse the repository at this point in the history
…te the current e-commerce store state in DXP (hotwax#430)
  • Loading branch information
R-Sourabh committed Feb 3, 2025
1 parent 36fd8bc commit bab2ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/user/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const actions: ActionTree<UserState, RootState> = {

const currentFacilityId: any = getCurrentFacilityId();
const currentEComStore = await UserService.getEComStores(token, currentFacilityId);
await useUserStore().setEComStorePreference(currentEComStore);
useUserStore().currentEComStore = currentEComStore
const productStoreId = currentEComStore?.productStoreId;

await useProductIdentificationStore().getIdentificationPref(productStoreId)
Expand Down

0 comments on commit bab2ce8

Please sign in to comment.