Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(info): use openDialog to open AddPeopleDialog

Leonard Kim4c00d39bf28e
diff --git a/react/features/invite/components/InfoDialog.web.js b/react/features/invite/components/InfoDialog.web.js
index 908eb6036f..5b81fe51cd 100644
--- a/react/features/invite/components/InfoDialog.web.js
+++ b/react/features/invite/components/InfoDialog.web.js
@@ -3,9 +3,10 @@ import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { getInviteURL } from '../../base/connection';
+import { openDialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
-import { openAddPeopleDialog } from '../actions';
+import AddPeopleDialog from './AddPeopleDialog';
const logger = require('jitsi-meet-logger').getLogger(__filename);
@@ -157,7 +158,7 @@ class InfoDialog extends Component {
* @returns {void}
*/
_onOpenInviteDialog() {
- this.props.dispatch(openAddPeopleDialog());
+ this.props.dispatch(openDialog(AddPeopleDialog));
if (this.props.onClose) {
this.props.onClose();