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

Modify the bed capacity pop-up when the dropdown options are going to exhaust #9121

Closed
4 tasks
nihal467 opened this issue Nov 14, 2024 · 1 comment · Fixed by #9123
Closed
4 tasks

Modify the bed capacity pop-up when the dropdown options are going to exhaust #9121

nihal467 opened this issue Nov 14, 2024 · 1 comment · Fixed by #9123
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Nov 14, 2024

Describe the bug

  • When only one bed type capacity is available to select, clicking the "Save Bed Capacity" button does not close the pop-up as expected.
  • When clicking the "Add Bed" button on the facility detail page for a facility that already has all bed types added, the pop-up enters an infinite loading state.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the facility details page by clicking "View Facility."
  2. Add all bed types except one, and attempt to replicate the issue.
  3. See error

Expected behavior

  • After clicking the "Save Bed Capacity" button, the pop-up should close in all cases once the data is saved.
  • When no bed types are available to select, the "Add Bed Capacity" button should either be disabled with a tooltip indicating no options are available or should open the pop-up correctly to display the unavailability of bed types.

Screenshots

Image
Image

@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Nov 15, 2024

Hey @nihal467 I would like to work on this issue . Could you assign it to me ?

@Jacobjeevan Jacobjeevan added this to Care Nov 15, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Nov 15, 2024
@Jacobjeevan Jacobjeevan moved this from Triage to In Progress in Care Nov 15, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Care Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants