Skip to content

Commit

Permalink
Fix vuln flyout when score is zero
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenIdo authored Oct 14, 2024
1 parent 589f746 commit 8fe292f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const VulnerabilityOverviewTiles = ({ vulnerabilityRecord }: VulnerabilityTabPro

return (
<EuiFlexGroup data-test-subj={OVERVIEW_TAB_VULNERABILITY_FLYOUT}>
{vulnerability?.score?.base && (
{!!vulnerability?.score?.base && (
<EuiFlexItem css={tileStyle}>
<EuiText css={tileTitleTextStyle}>
<FormattedMessage
Expand Down

0 comments on commit 8fe292f

Please sign in to comment.