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

Improved: Fixed code logic to prevent facilities list from becoming empty if the infinite scroll call fails(#282) #283

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

Ridwan6947
Copy link
Contributor

@Ridwan6947 Ridwan6947 commented Jul 10, 2024

Related Issues

#282

Short Description and Why It's Useful

Made improvements to handle the state of facilities and ensured that facilities are correctly concatenated , if number of facilities are 0 , state is updated to empty list , else previous state is continued

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

Contribution and Currently Important Rules Acceptance

… call is successful , if no result found user state is made empty and total count 0 , for unsuccessfl API callprevious state is set (hotwax#282)
… call is successful , if no result found user state is made empty and total count 0 , for unsuccessfl API callprevious state is set (hotwax#282)
@Ridwan6947 Ridwan6947 changed the title Improved: made changes such that , state only gets updated if the API call is successful , if no result found user state is made empty and total count 0 , for unsuccessfl API callprevious state is set (#282) Improved: Fixed code logic to prevent facilities list from becomes empty if the infinite scroll call fails(#282) Jul 16, 2024
@ymaheshwari1
Copy link
Contributor

@Ridwan6947 Add related issue number.

@Ridwan6947 Ridwan6947 changed the title Improved: Fixed code logic to prevent facilities list from becomes empty if the infinite scroll call fails(#282) Improved: Fixed code logic to prevent facilities list from becoming empty if the infinite scroll call fails(#282) Jul 29, 2024
@ymaheshwari1 ymaheshwari1 merged commit cf6bc57 into hotwax:main Aug 13, 2024
2 checks passed
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