Fix user list selection is not in sync with UI
What does this MR do and why?
This MR fixes a bug where when creating a feature flag, selecting a user list for a strategy works but appears in the UI as if it doesn't work. This is confusing.
Screenshots or screen recordings
Before | After |
---|---|
Screencast_from_03.12.2021_17_59_41 | Screencast_from_03.12.2021_18_00_50 |
How to set up and validate locally
- Go to a project
- Go to Environment > Feature flags
- Create at least one user list
- Click on New feature flag
- Try to select the user list in a strategy
- See that it appears directly after you selected it (no saving required)
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 Kev