[MM-64617] Add enter key press handler to each of the modals (#3463)
This commit is contained in:
@@ -104,6 +104,7 @@ class PermissionModal extends React.PureComponent<Props, State> {
|
||||
onExited={() => {}}
|
||||
modalHeaderText={this.getModalTitle()}
|
||||
handleConfirm={this.props.handleGrant}
|
||||
handleEnterKeyPress={this.props.handleGrant}
|
||||
confirmButtonText={
|
||||
<FormattedMessage
|
||||
id='label.accept'
|
||||
|
Reference in New Issue
Block a user