Skip to content

Commit

Permalink
[Cloud Security] Fixed an issue with Host.name Alerts contextual flyo…
Browse files Browse the repository at this point in the history
…ut (elastic#200626)

## Summary

This PR addresses issue with Alerts flyout on host.name. Users are
unable to to open Flyout via clicking Expand flyout (Missing this) and
also unable to close Alerts datagrid

## Issue
<img width="1728" alt="Screenshot 2024-11-18 at 9 43 24 AM"
src="https://github.com/user-attachments/assets/768729ac-b7e7-4bac-a6a6-253ad183b4bb">

## Fix
<img width="1725" alt="Screenshot 2024-11-18 at 9 44 05 AM"
src="https://github.com/user-attachments/assets/25044a1c-924f-48f1-8f41-51d5f5797b28">
  • Loading branch information
animehart authored and CAWilson94 committed Dec 12, 2024
1 parent 8bf9487 commit d1333cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const AlertsPreview = ({
<EuiText
size="xs"
css={{
fontWeight: euiTheme.font.weight.semiBold,
fontWeight: euiTheme.font.weight.bold,
}}
>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ export const HostPanel = ({
<FlyoutNavigation
flyoutIsExpandable={
!isPreviewMode &&
(isRiskScoreExist || hasMisconfigurationFindings || hasVulnerabilitiesFindings)
(isRiskScoreExist ||
hasMisconfigurationFindings ||
hasVulnerabilitiesFindings ||
hasNonClosedAlerts)
}
expandDetails={openDefaultPanel}
/>
Expand Down

0 comments on commit d1333cf

Please sign in to comment.