Vulnerability training message is contradictory
Problem
On some vulnerabilities when training is not available, a user gets a message that immediately contradicts itself. See the following screenshot.
Solution
Remove the "Learn more about this vulnerability and the best way to solve it" text from the UI. All other text and behaviors are unchanged.
Verification Steps
- Access a project with vulnerabilities
- From the Vulnerability Report, click into a vulnerability to access the the vulnerability details page (eg. https://gitlab.com/gitlab-examples/security/security-reports/-/security/vulnerabilities/2971993)
- Confirm the "Learn more about this vulnerability and the best way to solve it" text is no longer present beneath the training header.
Edited by Neil McCorrison