Skip to content

Commit

Permalink
Revert "Make alerts table row to fit user profile avatars by default (#…
Browse files Browse the repository at this point in the history
…170505)"

This reverts commit 89ec60a.
  • Loading branch information
e40pud committed Nov 6, 2023
1 parent c2a2291 commit 5d914a4
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,14 @@ export const AlertsTableComponent: FC<DetectionEngineAlertTableProps> = ({
[isEventRenderedView]
);

const rowHeightsOptions: EuiDataGridRowHeightsOptions = useMemo(() => {
return {
defaultHeight: 'auto',
};
}, []);
const rowHeightsOptions: EuiDataGridRowHeightsOptions | undefined = useMemo(() => {
if (isEventRenderedView) {
return {
defaultHeight: 'auto',
};
}
return undefined;
}, [isEventRenderedView]);

const alertColumns = useMemo(
() => (columns.length ? columns : getColumns(license)),
Expand Down

0 comments on commit 5d914a4

Please sign in to comment.