Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: issue of unwanted api calls after login, due to change in facility and productStore #128

Merged
merged 2 commits into from
May 31, 2023

Conversation

ymaheshwari1
Copy link
Contributor

Related Issues

On login, api calls to get the count of inProgress and outstanding orders is being made, as after login we set the facility and eComStore that results in calling the apis.

Closes #

Short Description and Why It's Useful

Added condition to check for values in state and current selected value and if both are same not making api calls.

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

@adityasharma7 adityasharma7 merged commit 2f03e78 into hotwax:main May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants