From f425de23e73976a3ee6ecdd4c8639f1e5f990e88 Mon Sep 17 00:00:00 2001 From: Angela Chuang <6295984+angorayc@users.noreply.github.com> Date: Thu, 16 Jul 2020 15:18:43 +0100 Subject: [PATCH] [Security Solution] Remove compressed prop for EuiBasicTable (#72039) * remove compressd for tables * update snapshot --- .../public/common/components/ml/tables/anomalies_host_table.tsx | 1 - .../common/components/ml/tables/anomalies_network_table.tsx | 1 - .../ml_popover/jobs_table/__snapshots__/jobs_table.test.tsx.snap | 1 - .../common/components/ml_popover/jobs_table/jobs_table.tsx | 1 - .../public/common/components/paginated_table/index.tsx | 1 - .../timelines/components/open_timeline/timelines_table/index.tsx | 1 - 6 files changed, 6 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_host_table.tsx b/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_host_table.tsx index d6e343265b6e7..78cd23e6647c0 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_host_table.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_host_table.tsx @@ -79,7 +79,6 @@ const AnomaliesHostTableComponent: React.FC = ({ 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} diff --git a/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_network_table.tsx b/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_network_table.tsx index c7a49202bf239..73fe7b1ea5f6e 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_network_table.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml/tables/anomalies_network_table.tsx @@ -69,7 +69,6 @@ const AnomaliesNetworkTableComponent: React.FC = ({ 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} diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/__snapshots__/jobs_table.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/__snapshots__/jobs_table.test.tsx.snap index d8b8ae63cf41f..60088a77878ad 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/__snapshots__/jobs_table.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/__snapshots__/jobs_table.test.tsx.snap @@ -21,7 +21,6 @@ exports[`JobsTableComponent renders correctly against snapshot 1`] = ` }, ] } - compressed={true} data-test-subj="jobs-table" items={ Array [ diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx index 40097ed68684f..f28a99c9947d5 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx @@ -115,7 +115,6 @@ export const JobsTableComponent = ({ isLoading, jobs, onJobStateChange }: JobTab return ( = ({ <> ( return (