Skip to content

Commit

Permalink
Fix: hidden date range picker
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanchez91 committed Oct 6, 2020
1 parent 269d65b commit 8c94a9e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions public/components/agents/fim/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export class EventsFim extends Component {
return (
this.state.isFlyoutVisible &&
<EuiOverlayMask
headerZindexLocation="below"
// @ts-ignore
onClick={() => this.closeFlyout()} >
<FlyoutDetail
Expand Down
1 change: 1 addition & 0 deletions public/components/agents/fim/inventory/registry-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export class RegistryTable extends Component {
{registryTable}
{this.state.isFlyoutVisible && (
<EuiOverlayMask
headerZindexLocation="below"
onClick={() => this.closeFlyout()}
>
<FlyoutDetail
Expand Down
1 change: 1 addition & 0 deletions public/components/agents/fim/inventory/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export class InventoryTable extends Component {
{filesTable}
{this.state.isFlyoutVisible &&
<EuiOverlayMask
headerZindexLocation="below"
onClick={() => this.closeFlyout() } >
<FlyoutDetail
fileName={this.state.currentFile}
Expand Down
1 change: 1 addition & 0 deletions public/components/common/modules/mitre-events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export class EventsMitre extends Component {
return (
this.state.isFlyoutVisible &&
<EuiOverlayMask
headerZindexLocation="below"
// @ts-ignore
onClick={() => this.closeFlyout()} >

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function FimTable({ agent }) {
noItemsMessage="No recent events" />
{isOpen && (
<EuiOverlayMask
headerZindexLocation="below"
onClick={() => setIsOpen(false)}
>
<FlyoutDetail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ export class MitreTopTactics extends Component {
{!selectedTactic || alertsCount.length === 0 ? tacticsTop : tecniquesTop}
{alertsCount.length === 0 && emptyPrompt}
{flyoutOn &&
<EuiOverlayMask onClick={() => this.closeFlyout() } >
<EuiOverlayMask
headerZindexLocation="below"
onClick={() => this.closeFlyout() } >
<FlyoutTechnique
openDashboard={(e,itemId) => this.openDashboard(e,itemId)}
openDiscover={(e,itemId) => this.openDiscover(e,itemId)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ export class ComplianceSubrequirements extends Component {
</div>

{this.state.flyoutOn &&
<EuiOverlayMask onClick={() => this.closeFlyout() } >
<EuiOverlayMask
headerZindexLocation="below"
onClick={() => this.closeFlyout() } >
<RequirementFlyout
currentRequirement={this.state.selectedRequirement}
onChangeFlyout={this.onChangeFlyout}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@ export const Techniques = withWindowSize(class Techniques extends Component {
</div>
{ isFlyoutVisible &&
<EuiOverlayMask
headerZindexLocation="below"
// @ts-ignore
onClick={() => this.onChangeFlyout(false) } >

<FlyoutTechnique
openDashboard={(e,itemId) => this.openDashboard(e,itemId)}
openDiscover={(e,itemId) => this.openDiscover(e,itemId)}
Expand Down

0 comments on commit 8c94a9e

Please sign in to comment.