Only show draft status tag for draft MRs in list when FF is enabled
What does this MR do and why?
this is a followup to !197317 (merged) based on a bug reported in internal Slack.
Draft status tags are behind a FF right now, but the boolean to show the status does not take the flag into account. Users who do not have the flag enabled see an "Open" status badge next to draft MRs in a project MR list view (and only next to drafts, not next to all open MRs). This MR adds a check for the feature flag so that the status badge will not show in this case.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.