Skip to content

Commit

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

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Enterprise Search] Fix Text Extraction toggle
(#173590)](#173590)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Efe Gürkan
YALAMAN","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-21T09:58:10Z","message":"[Enterprise
Search] Fix Text Extraction toggle (#173590)\n\n##
Summary\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/a5980bd7-1290-442e-b2d3-c6a551325de7\r\n\r\nFix
use text extraction toggle which removed itself before when
toggled.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"ae289f0a276d299dd6fabdc34e56c260e1b7d0e4","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"number":173590,"url":"https://github.com/elastic/kibana/pull/173590","mergeCommit":{"message":"[Enterprise
Search] Fix Text Extraction toggle (#173590)\n\n##
Summary\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/a5980bd7-1290-442e-b2d3-c6a551325de7\r\n\r\nFix
use text extraction toggle which removed itself before when
toggled.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"ae289f0a276d299dd6fabdc34e56c260e1b7d0e4"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173590","number":173590,"mergeCommit":{"message":"[Enterprise
Search] Fix Text Extraction toggle (#173590)\n\n##
Summary\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/a5980bd7-1290-442e-b2d3-c6a551325de7\r\n\r\nFix
use text extraction toggle which removed itself before when
toggled.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"ae289f0a276d299dd6fabdc34e56c260e1b7d0e4"}}]}]
BACKPORT-->

Co-authored-by: Efe Gürkan YALAMAN <[email protected]>
  • Loading branch information
kibanamachine and efegurkan authored Dec 21, 2023
1 parent 73751e9 commit a254e16
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 a254e16

Please sign in to comment.