diff --git a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/details.tsx b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/details.tsx index 1c539addf2d2f..2fa13b5da43e2 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/details.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/details.tsx @@ -12,9 +12,7 @@ import { EuiFlyoutBody, EuiTitle, EuiDescriptionList, - EuiText, EuiSpacer, - EuiCodeBlock, EuiFlyoutFooter, EuiFlexGroup, EuiFlexItem, @@ -22,6 +20,8 @@ import { } from '@elastic/eui'; import { Pipeline } from '../../../../common/types'; +import { PipelineDetailsJsonBlock } from './details_json_block'; + export interface Props { pipeline: Pipeline; onEditClick: () => void; @@ -71,23 +71,31 @@ export const PipelineDetails: FunctionComponent = ({ - - - - - {JSON.stringify(pipeline.processors, null, 2)} - + + + {/* On Failure Processor JSON */} + {pipeline.onFailure?.length && ( + <> + + + + )} + {/* End On Failure Processor JSON */}