Commits with close issue reference, fail to update issue page correctly
Summary: If a user has a issue page open in the browser and pushes changes to gitlab that close that issue automatically, the page is correctly updated without the user refreshing the browser and the issue is marked closed, but the button to close the issue is still available to the user until the page is refreshed. This appears to be mainly cosmetic has pressing that button appears to do nothing but refresh the page.
Steps to reproduce: Leave the issue page open in the browser and push to GitLab with a commit message closing the issue (use closes #1 (closed) syntax), return to the browser and don't refresh the page, it should automatically update the issue status but the button to close the issue still remains.
Expected behavior: The whole page should reflect a closed issued state.
Observed behavior: The button to close the issue still remains, it appears to only refresh the page when clicked.
Edit: Forgot to mention that issue was noticed on v7.9.0 don't know if it was present before