Skip to content

🐛 align Severity & Score nullable fields#480

Merged
carlosthe19916 merged 1 commit intoguacsec:mainfrom
carlosthe19916:align-nullabale-severity
May 5, 2025
Merged

🐛 align Severity & Score nullable fields#480
carlosthe19916 merged 1 commit intoguacsec:mainfrom
carlosthe19916:align-nullabale-severity

Conversation

@carlosthe19916
Copy link
Copy Markdown
Collaborator

#478 Evidenced that in the component client/src/app/pages/advisory-details/vulnerabilities-by-advisory.tsx the score can be a null value.

This PR makes sure client/src/app/pages/advisory-details/vulnerabilities-by-advisory.tsx passes a possible null score and makes sure the severity is converted to ExtendedSeverity before it is being passed to the SeverityShieldAndText component.

Also removes some warnings from the storybook fields.

Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
@trust-git-bot
Copy link
Copy Markdown

🚀 Storybook Deployed Preview: https://trustify-ui-pr-480-preview.surge.sh

@carlosthe19916 carlosthe19916 added the backport release/0.2.z This PR should be backported to release/0.2.z branch. label May 5, 2025
@carlosthe19916 carlosthe19916 merged commit 8a5ca58 into guacsec:main May 5, 2025
8 checks passed
github-actions bot pushed a commit that referenced this pull request May 5, 2025
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
(cherry picked from commit 8a5ca58)
@trustification-ci-bot
Copy link
Copy Markdown
Contributor

Successfully created backport PR for release/0.2.z:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/0.2.z This PR should be backported to release/0.2.z branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants