Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind i18n Object To SeverityProgressBar Props #871

Conversation

aravindparappil46
Copy link
Contributor

@aravindparappil46 aravindparappil46 commented May 16, 2024

Description

When instantiating the SeverityProgressBar ComponentClass, the $t prop for i18n should be passed to it, so that the messages in the tooltip of the progress bar are rendered.

Screenshot of result:

image

Addressed Issue

Fixes #867

Additional Details

I noticed that it was working fine in ProjectList, so referred how it was done there and replicated the same where ever SeverityProgressBar is used

Checklist

When instantiating the SeverityProgressBar ComponentClass, the $t prop should
be passed to it, so that the messages in the tooltip of the progress bar are rendered

Signed-off-by: Aravind Parappil <[email protected]>
@nscuro nscuro added this to the 4.12 milestone May 16, 2024
@nscuro nscuro added the defect Something isn't working label May 16, 2024
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot! Would've taken me ages to find this 😆

Thanks for the fix 🙌

@nscuro nscuro merged commit 660cddd into DependencyTrack:master May 16, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulnerabilities progress bar broken in Project -> Components view
2 participants