Fix some vulnerability report filter placeholders
What does this MR do and why?
Due to a recent change in another MR, the placeholders were removed, but we need to still pass them to the getSelectedTextOptions
util.
It's now fixed for the 3 filters or which the placeholders were not appearing:
- image filter
- cluster filter
- activity filter
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Prerequisites
- You'll need an EE license
- You'll need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Run a pipeline on master
Validate
- Go to the vulnerability report of security-reports project
- Validate that by default (when no option is selected), the activity filter on the "Development vulnerabilities" tab and the cluster filter and images filter on the "Operational vulnerabilities" tab all have a placeholder.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Lorenz van Herwaarden