Commit 03ec281f authored by Carlos Tadeu Panato Junior's avatar Carlos Tadeu Panato Junior Committed by Joram Wilander

PLT-6757 - fix js error when press enter in the confirmation dialog (#6589)

parent f2ab91ef
......@@ -35,7 +35,7 @@ export default class ConfirmModal extends React.Component {
handleKeypress(e) {
if (e.key === 'Enter' && this.props.show) {
this.props.onConfirm();
this.props.onConfirm(e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment