Skip to content

Commit

Permalink
[8.12] [Search] Allow connector syncs when errored (elastic#175548) (e…
Browse files Browse the repository at this point in the history
…lastic#175667)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Search] Allow connector syncs when errored
(elastic#175548)](elastic#175548)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-26T10:13:42Z","message":"[Search]
Allow connector syncs when errored (elastic#175548)\n\n## Summary\r\n\r\nThis
enables the sync button when the connector is in an error
state.","sha":"5133be6d39803119062a17c5c170973b3673bbe5","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"title":"[Search]
Allow connector syncs when
errored","number":175548,"url":"https://github.com/elastic/kibana/pull/175548","mergeCommit":{"message":"[Search]
Allow connector syncs when errored (elastic#175548)\n\n## Summary\r\n\r\nThis
enables the sync button when the connector is in an error
state.","sha":"5133be6d39803119062a17c5c170973b3673bbe5"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175548","number":175548,"mergeCommit":{"message":"[Search]
Allow connector syncs when errored (elastic#175548)\n\n## Summary\r\n\r\nThis
enables the sync button when the connector is in an error
state.","sha":"5133be6d39803119062a17c5c170973b3673bbe5"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <[email protected]>
  • Loading branch information
kibanamachine and sphilipse authored Jan 26, 2024
1 parent 1f1f85f commit 7631dbf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ export const ConnectorOverview: React.FC<ConnectorOverviewProps> = ({ connector
<EuiButton
data-test-subj="serverlessSearchConnectorOverviewSyncButton"
color="primary"
disabled={
![ConnectorStatus.CONFIGURED, ConnectorStatus.CONNECTED].includes(connector.status)
}
disabled={[ConnectorStatus.CREATED, ConnectorStatus.NEEDS_CONFIGURATION].includes(
connector.status
)}
fill
isLoading={isLoading}
onClick={() => mutate()}
Expand Down

0 comments on commit 7631dbf

Please sign in to comment.