Skip to content

Commit

Permalink
[Security Solution] Fix artifacts in Events table (#86767) (#86795)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski authored Dec 22, 2020
1 parent fffbe4d commit 0a48997
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,17 @@ export const DataDrivenColumns = React.memo<Props>(
})}
</>
</EventsTdContent>
{hasRowRenderers && (
{hasRowRenderers ? (
<EuiScreenReaderOnly data-test-subj="hasRowRendererScreenReaderOnly">
<p>{i18n.EVENT_HAS_AN_EVENT_RENDERER(ariaRowindex)}</p>
</EuiScreenReaderOnly>
)}
) : null}

{notesCount && (
{notesCount ? (
<EuiScreenReaderOnly data-test-subj="hasNotesScreenReaderOnly">
<p>{i18n.EVENT_HAS_NOTES({ row: ariaRowindex, notesCount })}</p>
</EuiScreenReaderOnly>
)}
) : null}
</EventsTd>
))}
</EventsTdGroupData>
Expand Down

0 comments on commit 0a48997

Please sign in to comment.