bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/logout-confirmation/container.jsx
2017-09-21 15:50:21 -03:00

15 lines
520 B
JavaScript

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import LogoutConfirmation from './component';
import LogoutConfirmationService from './service';
const LogoutConfirmationContainer = () => (
<LogoutConfirmation {...this.props} />
);
export default createContainer(() => ({
showEndMeeting: !LogoutConfirmationService.isBreakout() &&
LogoutConfirmationService.isModerator(),
endMeeting: LogoutConfirmationService.endMeeting,
}), LogoutConfirmationContainer);