@ -506,6 +506,7 @@ class ContactEdit extends React.PureComponent {
<ConfirmationDialog
title="Delete Confirmation"
labelOk="Delete"
open={this.state.showDeleteDialog}
onOk={() => this.props.onDelete(this.props.item!, this.props.initialCollection!)}
onCancel={() => this.setState({showDeleteDialog: false})}
@ -282,6 +282,7 @@ class EventEdit extends React.PureComponent {
@ -9,6 +9,7 @@ export default pure((_props: any) => {
const {
onCancel,
onOk,
labelOk,
...props,
} = _props;
const actions = [
@ -24,7 +25,7 @@ export default pure((_props: any) => {
(
<FlatButton
key="2"
label="Submit"
label={labelOk || 'Confirm'}
primary={true}
onClick={onOk}
/>