Skip to content

Commit

Permalink
Make alerts table row to fit user profile avatars by default
Browse files Browse the repository at this point in the history
  • Loading branch information
e40pud committed Nov 3, 2023
1 parent 34862d7 commit 178a119
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,11 @@ export const AlertsTableComponent: FC<DetectionEngineAlertTableProps> = ({
[isEventRenderedView]
);

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

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

0 comments on commit 178a119

Please sign in to comment.