Skip to content

Commit

Permalink
[8.x] Fix vuln flyout when score is zero (#196148)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix vuln flyout when score is
zero](#196092)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ido
Cohen","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-14T14:04:17Z","message":"Fix
vuln flyout when score is
zero","sha":"8fe292f3ca143266309fd7acda47d58ea367a07c","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor"],"title":"Fix vuln flyout when score is
zero","number":196092,"url":"https://github.com/elastic/kibana/pull/196092","mergeCommit":{"message":"Fix
vuln flyout when score is
zero","sha":"8fe292f3ca143266309fd7acda47d58ea367a07c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196092","number":196092,"mergeCommit":{"message":"Fix
vuln flyout when score is
zero","sha":"8fe292f3ca143266309fd7acda47d58ea367a07c"}}]}] BACKPORT-->

Co-authored-by: Ido Cohen <[email protected]>
  • Loading branch information
kibanamachine and CohenIdo authored Oct 14, 2024
1 parent d6293f1 commit 85fa0bf
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 85fa0bf

Please sign in to comment.