Select correct dropdown option when role upgrade canceled
What does this MR do and why?
Related to #417073 (closed)
Fixes when you hit cancel in the overage modal, expanding the dropdown still had the canceled role option selected.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Open up the rails console
rails c
and enable theshow_overage_on_role_promotion
flag (Feature.enable(:show_overage_on_role_promotion)
) - Navigate to the project members page for a project that's linked to a subscription (ex:
gitlab-org/gitlab-shell/-/project_members
) - Change the
Max role
value, the modal should appear - Click off of the modal or click "Back"
- Open the dropdown
- Verify selected role is correct and not the upgraded role
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Laura Callahan