PLT-4257 Add pop-up asking if user wants to reset status (#6526)
* Add pop-up asking if user wants to reset status * Update test snapshot * Update prop name for old uses of confirm modal * Updating checkbox (#6586) * Updating style for checkbox (#6596)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
02f09b8af9
Коммит
6e7b912ec6
@@ -28,8 +28,8 @@ export default class DeleteModalTrigger extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
handleConfirm(e) {
|
||||
this.props.onDelete(e);
|
||||
handleConfirm() {
|
||||
this.props.onDelete();
|
||||
}
|
||||
|
||||
handleCancel() {
|
||||
@@ -57,7 +57,7 @@ export default class DeleteModalTrigger extends React.Component {
|
||||
show={this.state.showDeleteModal}
|
||||
title={this.modalTitle}
|
||||
message={this.modalMessage}
|
||||
confirmButton={this.modalConfirmButton}
|
||||
confirmButtonText={this.modalConfirmButton}
|
||||
onConfirm={this.handleConfirm}
|
||||
onCancel={this.handleCancel}
|
||||
onKeyDown={this.handleKeyDown}
|
||||
|
||||
Ссылка в новой задаче
Block a user