Skip to content

Commit

Permalink
[Enterprise Search] Fix Text Extraction toggle (elastic#173590)
Browse files Browse the repository at this point in the history
## Summary


https://github.com/elastic/kibana/assets/1410658/a5980bd7-1290-442e-b2d3-c6a551325de7

Fix use text extraction toggle which removed itself before when toggled.

### Checklist

Delete any items that are not applicable to this PR.

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
  • Loading branch information
efegurkan authored Dec 21, 2023
1 parent 34a3381 commit ae289f0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ export const ConnectorConfigurationForm: React.FC<ConnectorConfigurationForm> =
setConfigEntry={(key, value) => {
setConfigView({
...configView,
advancedConfigurations: { ...configView.advancedConfigurations, [key]: value },
advancedConfigurations: configView.advancedConfigurations.map((config) =>
config.key === key ? { ...config, value } : config
),
});
}}
/>
Expand Down

0 comments on commit ae289f0

Please sign in to comment.