mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Index Management] Change default action for create enrich policy (#169336)
This commit is contained in:
parent
6a97a4b6b8
commit
f931fd8791
1 changed files with 15 additions and 15 deletions
|
@ -233,21 +233,6 @@ export const CreateStep = ({ onBack, onSubmit, isLoading }: Props) => {
|
|||
<EuiFlexGroup justifyContent="flexEnd" gutterSize="s">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiButton
|
||||
color="primary"
|
||||
onClick={() => onSubmit(CREATE_AND_EXECUTE_POLICY)}
|
||||
isDisabled={isLoading}
|
||||
data-test-subj="createAndExecuteButton"
|
||||
>
|
||||
<FormattedMessage
|
||||
id="xpack.idxMgmt.enrichPolicyCreate.createStep.createAndExecuteButtonLabel"
|
||||
defaultMessage="Create and execute"
|
||||
/>
|
||||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiButton
|
||||
fill
|
||||
color="primary"
|
||||
onClick={() => onSubmit()}
|
||||
isDisabled={isLoading}
|
||||
|
@ -259,6 +244,21 @@ export const CreateStep = ({ onBack, onSubmit, isLoading }: Props) => {
|
|||
/>
|
||||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiButton
|
||||
fill
|
||||
color="primary"
|
||||
onClick={() => onSubmit(CREATE_AND_EXECUTE_POLICY)}
|
||||
isDisabled={isLoading}
|
||||
data-test-subj="createAndExecuteButton"
|
||||
>
|
||||
<FormattedMessage
|
||||
id="xpack.idxMgmt.enrichPolicyCreate.createStep.createAndExecuteButtonLabel"
|
||||
defaultMessage="Create and execute"
|
||||
/>
|
||||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexGroup>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue