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

Asset filter parameters use undefined on unselecting #6254

Closed
print-Sathvik opened this issue Sep 9, 2023 · 0 comments · Fixed by #6255
Closed

Asset filter parameters use undefined on unselecting #6254

print-Sathvik opened this issue Sep 9, 2023 · 0 comments · Fixed by #6255
Assignees

Comments

@print-Sathvik
Copy link
Contributor

Describe the bug
The values of asset type, asset status and asset class in asset filters is set as undefined when the "Select" option is selected from the dropdown.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/assets
  2. Select any option for asset class.
  3. Clear the selection by selecting "Select" option(1st option)
  4. Click on apply filter
  5. The filtered asset count is 0 as there is no asset whose asset class is undefined

Expected behavior
The values of parameters should be set to empty strings when they are unselected from dropdown instead of undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant