bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/lock-viewers/container.jsx

18 lines
726 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import Meetings from '/imports/api/meetings';
import Auth from '/imports/ui/services/auth';
import LockViewersComponent from './component';
import { updateLockSettings, updateWebcamsOnlyForModerator } from './service';
const LockViewersContainer = props => <LockViewersComponent {...props} />;
2018-11-20 20:46:21 +08:00
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => mountModal(null),
meeting: Meetings.findOne({ meetingId: Auth.meetingID }),
updateLockSettings,
updateWebcamsOnlyForModerator,
showToggleLabel: false,
2018-11-20 20:46:21 +08:00
}))(LockViewersContainer));