Skip to content

Commit

Permalink
[Security Solution][Detections] Fix truncated values in columns for r…
Browse files Browse the repository at this point in the history
…ules table (elastic#115825) (elastic#116795)

* Fix truncated rule name on rules table

* remove empty line

* remove truncateText for all rules table columns

* rename unit tests

* refactor unit tests

* fix ts error

* fix ts error

* remove config line

* fix types after kbn bootstrap

* CR: remove unnecesary tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
  • Loading branch information
kibanamachine and vitaliidm authored Nov 1, 2021
1 parent 4fe5b04 commit 5e16bdf
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ export const getColumns = ({
{value}
</LinkAnchor>
),
truncateText: true,
width: '20%',
sortable: true,
},
Expand All @@ -186,14 +185,12 @@ export const getColumns = ({
{value}
</EuiText>
),
truncateText: true,
width: '10%',
},
{
field: 'severity',
name: i18n.COLUMN_SEVERITY,
render: (value: Rule['severity']) => <SeverityBadge value={value} />,
truncateText: true,
width: '12%',
},
{
Expand All @@ -208,7 +205,6 @@ export const getColumns = ({
</LocalizedDateTooltip>
);
},
truncateText: true,
width: '14%',
},
{
Expand All @@ -224,7 +220,6 @@ export const getColumns = ({
);
},
width: '12%',
truncateText: true,
},
{
field: 'updated_at',
Expand All @@ -239,7 +234,6 @@ export const getColumns = ({
);
},
sortable: true,
truncateText: true,
width: '14%',
},
{
Expand All @@ -254,7 +248,6 @@ export const getColumns = ({
</EuiText>
);
},
truncateText: true,
width: '8%',
},
{
Expand All @@ -266,7 +259,6 @@ export const getColumns = ({
}
return getEmptyTagValue();
},
truncateText: true,
width: '20%',
},
{
Expand Down Expand Up @@ -344,7 +336,6 @@ export const getMonitoringColumns = (
</LinkAnchor>
);
},
truncateText: true,
width: '24%',
},
{
Expand All @@ -362,7 +353,6 @@ export const getMonitoringColumns = (
{value?.length ? sum(value.map(Number)).toFixed() : getEmptyTagValue()}
</EuiText>
),
truncateText: true,
width: '14%',
},
{
Expand All @@ -380,7 +370,6 @@ export const getMonitoringColumns = (
{value?.length ? sum(value.map(Number)).toFixed() : getEmptyTagValue()}
</EuiText>
),
truncateText: true,
width: '14%',
},
{
Expand Down Expand Up @@ -412,7 +401,6 @@ export const getMonitoringColumns = (
{value ?? getEmptyTagValue()}
</EuiText>
),
truncateText: true,
width: '14%',
},
{
Expand All @@ -427,7 +415,6 @@ export const getMonitoringColumns = (
</LocalizedDateTooltip>
);
},
truncateText: true,
width: '20%',
},
{
Expand All @@ -443,7 +430,6 @@ export const getMonitoringColumns = (
);
},
width: '16%',
truncateText: true,
},
{
field: 'activate',
Expand Down

0 comments on commit 5e16bdf

Please sign in to comment.