From 1a7e1802cc7838fb7c2e87ebce783fe113ab043c Mon Sep 17 00:00:00 2001 From: Valeriy Khakhutskyy <1292899+valeriy42@users.noreply.github.com> Date: Thu, 17 Nov 2022 11:00:51 +0100 Subject: [PATCH 1/2] fix typo --- .../anomalies_table/anomaly_details_utils.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx index 17d479de1db8d..5704ae4504bf9 100644 --- a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx +++ b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx @@ -192,14 +192,18 @@ export const DetailsItems: FC<{ ) { items.push({ title: i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.upperBoundsTitle', { - defaultMessage: 'Upper bounds', + defaultMessage: 'Upper bound', }), - description: formatValue(anomaly.typical, source.function, undefined, source), + description: formatValue( + anomaly.source.anomaly_score_explanation?.upper_confidence_bound, + source.function, + undefined, + source), }); items.push({ title: i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.lowerBoundsTitle', { - defaultMessage: 'Lower bounds', + defaultMessage: 'Lower bound', }), description: formatValue( anomaly.source.anomaly_score_explanation?.lower_confidence_bound, From d8b39e7c40369cf07772ef16e7995bf014d59a2f Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 17 Nov 2022 10:45:55 +0000 Subject: [PATCH 2/2] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../components/anomalies_table/anomaly_details_utils.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx index 5704ae4504bf9..b40123a9e2ddf 100644 --- a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx +++ b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx @@ -195,10 +195,11 @@ export const DetailsItems: FC<{ defaultMessage: 'Upper bound', }), description: formatValue( - anomaly.source.anomaly_score_explanation?.upper_confidence_bound, - source.function, - undefined, - source), + anomaly.source.anomaly_score_explanation?.upper_confidence_bound, + source.function, + undefined, + source + ), }); items.push({