diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx b/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx index 3351c561d4948..ad5ef8a99f23b 100644 --- a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx +++ b/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { ALERT_DURATION, ALERT_END } from '@kbn/rule-data-utils'; import moment from 'moment'; import React from 'react'; @@ -33,19 +34,23 @@ const AlertDetailsAppSection = ({ rule, alert }: AlertDetailsAppSectionProps) => return ( // Create a chart per-criteria - rule.params.criteria.map((criteria) => { - const chartCriterion = criteria as PartialCriterion; - return ( - - ); - }) + + {rule.params.criteria.map((criteria) => { + const chartCriterion = criteria as PartialCriterion; + return ( + + + + ); + })} + ); }; // eslint-disable-next-line import/no-default-export