PLT-6757 - fix js error when press enter in the confirmation dialog (#6589)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
04088009f8
Коммит
fb55d9cc7d
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user