Fix `tag` icon display in the project ref selector dropdown

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

This commit aims to fix the tag icon display in the project ref selector dropdown when navigating from the project's tag view via Browse files button.

Closes: #457130 (closed)

Changelog: changed

Screenshots or screen recordings

Before After
before.mov after.mov

How to set up and validate locally

  1. Run GitLab.
  2. Navigate to the <project> -> Code -> Tags.
  3. Choose any tag (or create if it doesn't exist) and navigate to the tag view by clicking on a tag name.
  4. Find the Browse files button (on the top right) and click it.
  5. Observe the result in a project ref selector dropdown.
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading