From 8da6f0c7746b53878b35f8abb41a900c01c2111c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 19 Dec 2024 00:10:03 +0000 Subject: [PATCH] Remove leftover full_response_path in multi-expression modal (#544) Signed-off-by: Tyler Ohlsen (cherry picked from commit efba45f0485d669a7d79910239a6636901d3440a) Signed-off-by: github-actions[bot] --- .../modals/configure_multi_expression_modal.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_multi_expression_modal.tsx b/public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_multi_expression_modal.tsx index 882c62fb..34b3d552 100644 --- a/public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_multi_expression_modal.tsx +++ b/public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_multi_expression_modal.tsx @@ -125,7 +125,6 @@ export function ConfigureMultiExpressionModal( const [tempErrors, setTempErrors] = useState(false); // get some current form values - const fullResponsePathPath = `${props.baseConfigPath}.${props.config.id}.full_response_path`; const docs = getIn(values, 'ingest.docs'); let docObjs = [] as {}[] | undefined; try { @@ -445,14 +444,6 @@ export function ConfigureMultiExpressionModal( props.outputMapFieldPath, [] ); - set( - valuesWithoutOutputMapConfig, - fullResponsePathPath, - getIn( - formikProps.values, - 'full_response_path' - ) - ); const curIngestPipeline = formikToPartialPipeline( valuesWithoutOutputMapConfig, props.uiConfig, @@ -515,14 +506,6 @@ export function ConfigureMultiExpressionModal( props.outputMapFieldPath, [] ); - set( - valuesWithoutOutputMapConfig, - fullResponsePathPath, - getIn( - formikProps.values, - 'full_response_path' - ) - ); const curSearchPipeline = formikToPartialPipeline( valuesWithoutOutputMapConfig, props.uiConfig,