bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/lock-viewers/container.jsx
2018-11-08 10:55:12 -08:00

22 lines
661 B
JavaScript
Executable File

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import { makeCall } from '/imports/ui/services/api';
import LockViewersComponent from './component';
const LockViewersContainer = props => <LockViewersComponent {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal() {
mountModal(null);
},
toggleLockSettings(meeting) {
makeCall('toggleLockSettings', meeting);
},
toggleWebcamsOnlyForModerator(meeting) {
makeCall('toggleWebcamsOnlyForModerator', meeting);
},
}))(LockViewersContainer));