bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/end-meeting-confirmation/container.jsx
matiasilva 80cc39aa7a Improve the end meeting confirmation
Presently, the end meeting confirmation screen is a simple modal
which can quickly be ignored and thus has unintended consequences
for the meeting users. This commit attempts to fix this
by improving the modal to better reflect the consequences of
ending the meeting.
2020-06-26 14:49:07 +01:00

22 lines
615 B
JavaScript

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 EndMeetingComponent from './component';
import Service from './service';
const EndMeetingContainer = props => <EndMeetingComponent {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => {
mountModal(null);
},
endMeeting: () => {
makeCall('endMeeting');
mountModal(null);
},
users: Service.getUsers(),
}))(EndMeetingContainer));