fix: refactor status dropdown (EN-422)
Summary
https://cublueprint.atlassian.net/browse/EN-422 https://www.notion.so/miraho/Active-Client-Applicant-Issue-1e6aa7e9d791491d90610a0fbe24639a
Update status dropdown to restrict statuses and warn users when updating to active client.
Changes
- Changed
StatusDropdown
props to better match new approach - Removed API calls from
StatusDropdown
component (useonChange
) - Refactored Dialog component to update open property when changed
- Created warning when changing to
Active Client
- Updated all usages
- Take valid statuses from API