fix(info): use openDialog to open AddPeopleDialog
openAddPeopleDialog() got removed so instead call openDialog with the AddPeopleDialog.
This commit is contained in:
parent
cb514b90e9
commit
4c00d39bf2
|
@ -3,9 +3,10 @@ import { connect } from 'react-redux';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { getInviteURL } from '../../base/connection';
|
import { getInviteURL } from '../../base/connection';
|
||||||
|
import { openDialog } from '../../base/dialog';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
|
||||||
import { openAddPeopleDialog } from '../actions';
|
import AddPeopleDialog from './AddPeopleDialog';
|
||||||
|
|
||||||
const logger = require('jitsi-meet-logger').getLogger(__filename);
|
const logger = require('jitsi-meet-logger').getLogger(__filename);
|
||||||
|
|
||||||
|
@ -157,7 +158,7 @@ class InfoDialog extends Component {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
_onOpenInviteDialog() {
|
_onOpenInviteDialog() {
|
||||||
this.props.dispatch(openAddPeopleDialog());
|
this.props.dispatch(openDialog(AddPeopleDialog));
|
||||||
|
|
||||||
if (this.props.onClose) {
|
if (this.props.onClose) {
|
||||||
this.props.onClose();
|
this.props.onClose();
|
||||||
|
|
Loading…
Reference in New Issue