Skip to content

Commit

Permalink
Disable terminate button while deleting a resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jadsonluan committed Jul 27, 2020
1 parent 852c4c4 commit 0bce769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/OrderComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const mapping = {
class OrderComponent extends Component {
handleDelete = async(event) => {
event.preventDefault();
event.target.disabled = true;

const { dispatch } = this.props;
let id = this.props.order.instanceId;
Expand Down

0 comments on commit 0bce769

Please sign in to comment.