import React from 'react';
import Modal from 'react-modal';
import Icon from '/imports/ui/components/icon/component';
import Button from '/imports/ui/components/button/component';
import BaseMenu from '../base/component';
import styles from '../styles.scss';
import Service from './service';
export default class UsersMenu extends BaseMenu {
constructor(props) {
super(props);
}
renderAdmin() {
return (
Mute all
Mutes all participants except the presenter.
Lock all
Toggles locked status for all participants.
Webcam lock
Disables the webcam for all locked participants.
Microphone lock
Disables the microphone for all locked participants.
Public chat lock
Disables public chat for all locked participants.
Private chat lock
Disables private chat for all locked participants.
);
}
renderUser() {
return (
Mute all
Mutes all participants except the presenter.
);
}
getContent() {
let currentUser = Service.getCurrentUser();
if (currentUser.isPresenter || currentUser.isModerator) {
return (