feat(dialog): add disableAutoHideOnSubmit prop

Needed for shared video dialog.
This commit is contained in:
Hristo Terezov
2022-11-17 16:12:40 -06:00
parent d45decc393
commit 04abfe1a3b
3 changed files with 8 additions and 4 deletions

View File

@@ -2,7 +2,6 @@
import React, { Component } from 'react';
import { hideDialog } from '../../base/dialog/actions';
import { translate } from '../../base/i18n';
import { getParticipantById } from '../../base/participants';
import { connect } from '../../base/redux';
@@ -138,7 +137,6 @@ class RemoteControlAuthorizationDialog extends Component<Props> {
_onSubmit() {
const { dispatch, participantId } = this.props;
dispatch(hideDialog());
dispatch(grant(participantId));
return false;