From 55ec826019c7d4587ce5056c98df101afc0d4a47 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Tue, 9 Apr 2024 13:54:00 +0200 Subject: [PATCH] fix health status --- .../components/transform_list/expanded_row.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx index 49ce00c80cbf3..5abf0c891641c 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx @@ -25,6 +25,9 @@ import { stringHash } from '@kbn/ml-string-hash'; import { isDefined } from '@kbn/ml-is-defined'; import { FormattedMessage } from '@kbn/i18n-react'; + +import { mapEsHealthStatus2TransformHealthStatus } from '../../../../../../common/constants'; + import { useEnabledFeatures } from '../../../../serverless_context'; import { isTransformListRowWithStats } from '../../../../common/transform_list'; import type { TransformHealthAlertRule } from '../../../../../../common/types/alerting'; @@ -154,7 +157,11 @@ export const ExpandedRow: FC = ({ item, onAlertEdit, transformsStatsLoadi if (item.stats.health !== undefined) { stateItems.push({ title: 'health', - description: , + description: ( + + ), }); }