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

Backport: Bind i18n Object To SeverityProgressBar Props #873

Merged
merged 1 commit into from
May 16, 2024

Conversation

nscuro
Copy link
Member

@nscuro nscuro 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
Backports #871

Additional Details

I (@aravindparappil46) 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 the defect Something isn't working label May 16, 2024
@nscuro nscuro added this to the 4.11.1 milestone May 16, 2024
@nscuro nscuro merged commit 0e0936a into DependencyTrack:4.11.x May 16, 2024
3 of 4 checks passed
@nscuro nscuro deleted the backport-pr-871 branch May 16, 2024 08:07
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.

2 participants