Count in Merge Request Tabs aren't updating dynamically
Summary
The notes/discussions in the merge request page gets auto refreshed through ajax, but the count displayed in the tabs aren't, leading to inconsistent data.
Steps to reproduce
- Open any merge request page in the browser
- Push few commits to the branch associated with that merge request
- After few seconds, the new commits show up in the MR page
- Check the commits count in the MR tabs
Expected behavior
The commits count should get updated. The same with other tabs