Apply suggestion button should be inactive in a resolved thread
Summary
When someone has made a suggestion in an MR, the DRI may decide not to apply the suggestion. In that case they will mark the discussion Resolved. However, the Apply suggestion button remains active. Anyone with sufficient access to the MR could apply the suggestion, even though the DRI had decided not to do so.
Steps to reproduce
- In an MR, create a suggested change.
- Mark the resulting thread Resolved.
What is the current bug behavior?
The Apply suggestion button remains active when the thread is resolved.
What is the expected correct behavior?
The Apply suggestion button is inactive when the thread is resolved.
Relevant logs and/or screenshots
N/A