WebUI issue - the protected branch is not shown like protected
Good day! I am enterprise user of GitLab self-hosted v17.3
### Reproduction steps
1. push to git new branch (brand new branch, disconnected from main tree, but it is not important - I checked several times, also stale branches are affected)
2. go to settings -> repository -> protected branches and select this branch to be protected (there the list of branches is always actual).
3. go to code -> repository. It will show you the directory browser and there will be drop down box with the branch list. Click on it and check that the branch you selected in the previous step as protected is not shown like protected. That's all.
### Screenshots

I noticed that if I have two protected branches, in "branches" menu they are shown fine:

but for some reason in repository view under the combo-box the second branch is not shown like protected. No reload of page helps. Looks like UI issue:

issue