"Close merge request" button is still active after merge

Summary

After merging a merge request the "Close merge request" button is still active and while it doesn't do anything it is misleading.

On subsequent page refreshes the "Close merge request button disappears as it should.

Steps to reproduce

  1. Create a new merge request
  2. Merge the merge request
  3. Observe that the "Close merge request" button is still active
  4. Refresh the page
  5. Observe that the "Close merge request" button disappeared

What is the current bug behavior?

"Close merge request" button is still active after merging

What is the expected correct behavior?

"Close merge request" button should disappear without the need for a full page refresh

Relevant logs and/or screenshots

Screen_Shot_2017-08-21_at_15.39.48

Output of checks

This bug happens on GitLab.com

Assignee Loading
Time tracking Loading