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 (elastic#111064)
  • Loading branch information
parkiino authored and chrisronline committed Sep 8, 2021
1 parent f57f6b2 commit 514463a
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 514463a

Please sign in to comment.