Skip to content

Commit

Permalink
Remove leftover full_response_path in multi-expression modal (#544) (#…
Browse files Browse the repository at this point in the history
…545)

(cherry picked from commit efba45f)

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent af1d9a5 commit ed192a5
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export function ConfigureMultiExpressionModal(
const [tempErrors, setTempErrors] = useState<boolean>(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 {
Expand Down Expand Up @@ -445,14 +444,6 @@ export function ConfigureMultiExpressionModal(
props.outputMapFieldPath,
[]
);
set(
valuesWithoutOutputMapConfig,
fullResponsePathPath,
getIn(
formikProps.values,
'full_response_path'
)
);
const curIngestPipeline = formikToPartialPipeline(
valuesWithoutOutputMapConfig,
props.uiConfig,
Expand Down Expand Up @@ -515,14 +506,6 @@ export function ConfigureMultiExpressionModal(
props.outputMapFieldPath,
[]
);
set(
valuesWithoutOutputMapConfig,
fullResponsePathPath,
getIn(
formikProps.values,
'full_response_path'
)
);
const curSearchPipeline = formikToPartialPipeline(
valuesWithoutOutputMapConfig,
props.uiConfig,
Expand Down

0 comments on commit ed192a5

Please sign in to comment.