Skip to content

Commit

Permalink
[Security Solution] Remove compressed prop for EuiBasicTable (#72039)
Browse files Browse the repository at this point in the history
* remove compressd for tables

* update snapshot
  • Loading branch information
angorayc authored Jul 16, 2020
1 parent a20469f commit f425de2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ const AnomaliesHostTableComponent: React.FC<AnomaliesHostTableProps> = ({
<BasicTable
// @ts-ignore the Columns<T, U> type is not as specific as EUI's...
columns={columns}
compressed
// @ts-ignore ...which leads to `networks` not "matching" the columns
items={hosts}
pagination={pagination}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const AnomaliesNetworkTableComponent: React.FC<AnomaliesNetworkTableProps> = ({
<BasicTable
// @ts-ignore the Columns<T, U> type is not as specific as EUI's...
columns={columns}
compressed
// @ts-ignore ...which leads to `networks` not "matching" the columns
items={networks}
pagination={pagination}
Expand Down

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 @@ -115,7 +115,6 @@ export const JobsTableComponent = ({ isLoading, jobs, onJobStateChange }: JobTab
return (
<EuiBasicTable
data-test-subj="jobs-table"
compressed={true}
columns={getJobsTableColumns(isLoading, onJobStateChange, basePath)}
items={getPaginatedItems(jobs, pageIndex, pageSize)}
loading={isLoading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ const PaginatedTableComponent: FC<SiemTables> = ({
<>
<BasicTable
columns={columns}
compressed
items={pageOfItems}
onChange={onChange}
sorting={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ export const TimelinesTable = React.memo<TimelinesTableProps>(
return (
<BasicTable
columns={columns}
compressed
data-test-subj="timelines-table"
isExpandable={true}
isSelectable={actionTimelineToShow.includes('selectable')}
Expand Down

0 comments on commit f425de2

Please sign in to comment.