Programming languages used in repository always showing master branch
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=25428)
</details>
<!--IssueSummary end-->
### Summary
When displaying "Programming languages used in this repository" and changing to another branch in the dropdown list below, it still shows the same chart instead of showing the chart for the selected branch.
### Steps to reproduce
- In a project, go to menu Repository -> Charts.
- Chart loads showing "Programming languages used in this repository" in master branch (default selected).
- In the dropdown list below the graph select another branch.
- Chart animates and apparently loads again, but it does not show information of the selected branch.
### What is the current *bug* behavior?
The chart reloads showing the same information from master (default) branch independent of the selected branch.
### What is the expected *correct* behavior?
The chart reloads showing information from selected branch.
issue