Fixes the merge immediately dropdown showing in merge widget
What does this MR do and why?
This fixes a bug where the ready to merge widget would incorrectly show the merge immediately dropdown after the GraphQL subscription gets new data even if the project has the setting to only merge if succeeds enabled.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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.