Skip to content

Commit

Permalink
[Security Solution][Endpoint][Host Isolation] Hide isolate host optio…
Browse files Browse the repository at this point in the history
…n in alert details rather than disabling (#111064) (#111475)

Co-authored-by: Candace Park <[email protected]>
  • Loading branch information
kibanamachine and parkiino authored Sep 8, 2021
1 parent 3685c74 commit b1c465d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,13 @@ export const useHostIsolationAction = ({
isIsolationAllowed &&
isEndpointAlert &&
isolationSupported &&
isHostIsolationPanelOpen === false
isHostIsolationPanelOpen === false &&
loadingHostIsolationStatus === false
? [
<EuiContextMenuItem
key="isolate-host-action-item"
data-test-subj="isolate-host-action-item"
disabled={loadingHostIsolationStatus || agentStatus === HostStatus.UNENROLLED}
disabled={agentStatus === HostStatus.UNENROLLED}
onClick={isolateHostHandler}
>
{isolateHostTitle}
Expand Down

0 comments on commit b1c465d

Please sign in to comment.