NPM dist-tags are not displayed in the UI after upgrading to 17.4
Summary
In previous GitLab versions, NPM dist-tags were displayed in the UI right next to the version. After upgrading to 17.4 this does not look to be the case. When you query the package registry via the API, the dist-tags are still there.
Steps to reproduce
Have a GitLab test instance on 17.4.1 and upload a NPM package with a dist-tag on it. https://docs.gitlab.com/ee/user/packages/npm_registry/#add-npm-distribution-tags
What is the current bug behavior?
The UI does not display the dist-tag
What is the expected correct behavior?
The UI should display the dist-tag
Relevant logs and/or screenshots
Version 17.3 Version 17.4.1 17.4.1 when you query the API
% curl --header "Authorization: Bearer Redacted token" "https://Reacted Host/api/v4/projects/52/packages/npm/-/package/@test-group/npm_repo/dist-tags" ✹ ✭
{"latest":"1.0.0","stable":"1.0.1"}%
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 20.04 Proxy: no Current User: git Using RVM: no Ruby Version: 3.1.5p253 Gem Version: 3.5.17 Bundler Version:2.5.11 Rake Version: 13.0.6 Redis Version: 7.0.15 Sidekiq Version:7.2.4 Go Version: unknown GitLab information Version: 17.4.1-ee Revision: 40bdc966046 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 14.11 URL: https://redacted HTTP Clone URL: https://redacted/some-group/some-project.git SSH Clone URL: git@redacted:some-group/some-project.git Elasticsearch: yes Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: cognito GitLab Shell Version: 14.39.0 Repository storages: - default: unix:/var/opt/gitlab/gitaly/gitaly.socket GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Gitaly - default Address: unix:/var/opt/gitlab/gitaly/gitaly.socket - default Version: 17.4.1 - default Git Version: 2.46.0