[MM-64617] Add enter key press handler to each of the modals (#3463)

This commit is contained in:
Devin Binnie
2025-07-21 09:23:03 -04:00
committed by GitHub
parent af7009535d
commit ecf47e25b7
7 changed files with 8 additions and 2 deletions

View File

@@ -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'