diff --git a/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx b/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx index b32f5a45b..df7fe9f9e 100644 --- a/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx +++ b/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx @@ -5,7 +5,7 @@ import React, { Component } from "react"; import { RouteComponentProps } from "react-router-dom"; -import { EuiSpacer, EuiTitle, EuiButton, EuiFlexGroup, EuiFlexItem } from "@elastic/eui"; +import { EuiSpacer, EuiTitle, EuiButton, EuiFlexGroup, EuiFlexItem, EuiButtonEmpty } from "@elastic/eui"; import { IndexService, ManagedIndexService } from "../../../../services"; import ChangeManagedIndices from "../../components/ChangeManagedIndices"; import NewPolicy from "../../components/NewPolicy"; @@ -115,6 +115,8 @@ export default class ChangePolicy extends Component this.props.history.goBack(); + onSubmit = async () => { const { selectedPolicies, selectedManagedIndices } = this.state; @@ -175,6 +177,11 @@ export default class ChangePolicy extends Component + + + Cancel + + Change diff --git a/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap b/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap index fc49473fa..1f40cb70b 100644 --- a/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap +++ b/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap @@ -428,6 +428,25 @@ exports[` spec renders the component 1`] = `
+
+ +