mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 12:47:47 +00:00
User Picker Implementation
This commit is contained in:
@@ -217,9 +217,9 @@ class StatelessDialog extends Component {
|
||||
|
||||
return (
|
||||
<header>
|
||||
<h2>
|
||||
<h3>
|
||||
{ this.props.titleString || t(this.props.titleKey) }
|
||||
</h2>
|
||||
</h3>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
@@ -275,6 +275,9 @@ class StatelessDialog extends Component {
|
||||
}
|
||||
|
||||
if (event.key === 'Enter') {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
if (this.props.submitDisabled && !this.props.cancelDisabled) {
|
||||
this._onCancel();
|
||||
} else if (!this.props.okDisabled) {
|
||||
|
||||
Reference in New Issue
Block a user