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: Show TO filters if the facet has orders; disable if none.(#673) #861

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

R-Sourabh
Copy link
Contributor

Related Issues

#673

Short Description and Why It's Useful

  • Added a check to display TO filters if the facet has orders, and disabled them if there are no orders at all.
  • Improved the TransferOrder component by adding facet API fetching logic and removing it from the TransferOrderFilters page.
  • Previously, TOs in open condition were fetched even when the facet had no order count, which caused unnecessary calls. This is now fixed.

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

Screenshot from 2024-11-21 14-48-47
Screenshot from 2024-11-21 14-49-16

Contribution and Currently Important Rules Acceptance

@ymaheshwari1 ymaheshwari1 merged commit 98c264f into hotwax:main Jan 3, 2025
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