From 0e5ac40b0061e3abe63f8687cb1876759830e4be Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Wed, 12 Aug 2020 17:45:12 +0200 Subject: [PATCH] Support sentence case names for known processors (#74847) --- .../processor_information.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/pipeline_processors_editor_item_tooltip/processor_information.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/pipeline_processors_editor_item_tooltip/processor_information.tsx index 96abd7ebcd7ce8..85320f43c1b83b 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/pipeline_processors_editor_item_tooltip/processor_information.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/pipeline_processors_editor_item_tooltip/processor_information.tsx @@ -7,17 +7,19 @@ import React, { FunctionComponent, memo } from 'react'; import { EuiPanel, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; import { ProcessorInternal } from '../../types'; +import { getProcessorDescriptor } from '../shared'; interface Props { processor: ProcessorInternal; } export const ProcessorInformation: FunctionComponent = memo(({ processor }) => { + const label = getProcessorDescriptor(processor.type)?.label ?? processor.type; return ( - {processor.type} + {label} {processor.options.description ? (