Deleting a feature flag strategy always removes the last strategy in the list.
Summary
When deleting a strategy in a feature flag, clicking the delete button removes the last strategy in the list not the strategy associated with the button.
Steps to reproduce
- Create a feature flag with 3 strategies
- Delete the first or second second strategy
What is the current bug behavior?
The last strategy in the list is deleted.
What is the expected correct behavior?
The strategy that contains the delete button that is clicked should be deleted.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com