-
Notifications
You must be signed in to change notification settings - Fork 359
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
Fix error messages for doctor capacity form #5461
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
when you click the "Save Doctor Capacity" button, the user is staying on the page, but it should redirect the person to the facility detail page. |
Fixed |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
LGTM |
Fixes #5432
WHAT
🤖 Generated by Copilot at df9ea91
This change updates the UI of the facility modal to use a common button component and a simpler form structure. This enhances the user experience and the code readability of the
DoctorCapacity
component insrc/Components/Facility/DoctorCapacity.tsx
.@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
HOW
🤖 Generated by Copilot at df9ea91
Submit
component with theButtonV2
component for consistency and reusability (link)form
element and theonSubmit
prop from theDoctorCapacity
component and use theonClick
prop of theButtonV2
components to handle the form submission (link)