mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution][RAC] Refix expand (#110236)
This commit is contained in:
parent
00c9a76e0d
commit
416d42a22a
1 changed files with 3 additions and 8 deletions
|
@ -622,17 +622,12 @@ export const BodyComponent = React.memo<StatefulBodyProps>(
|
|||
const rowData = rowIndex < data.length ? data[rowIndex].data : null;
|
||||
const header = columnHeaders.find((h) => h.id === columnId);
|
||||
const eventId = rowIndex < data.length ? data[rowIndex]._id : null;
|
||||
const defaultStyles = useMemo(
|
||||
() => ({
|
||||
overflow: 'hidden',
|
||||
}),
|
||||
[]
|
||||
);
|
||||
setCellProps({ style: { ...defaultStyles } });
|
||||
|
||||
useEffect(() => {
|
||||
const defaultStyles = { overflow: 'hidden' };
|
||||
setCellProps({ style: { ...defaultStyles } });
|
||||
addBuildingBlockStyle(data[rowIndex].ecs, theme, setCellProps, defaultStyles);
|
||||
}, [rowIndex, setCellProps, defaultStyles]);
|
||||
}, [rowIndex, setCellProps]);
|
||||
|
||||
if (rowData == null || header == null || eventId == null) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue