`New branch` button is not reset after closing/reopening issue
Summary
Creating a new branch from an issue is only available when the issue is open. This should be reflected by the New branch
button when closing or reopening an issue (without the need for page reload).
Steps to reproduce
- open any issue
- close or reopen it
- state of
New branch
button stays the same
Expected behavior
Whenever issue state changes, New branch
button is updated.