2019-01-15 05:39:03 +08:00
|
|
|
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';
|
|
|
|
|
|
|
|
const EndMeetingContainer = props => <EndMeetingComponent {...props} />;
|
|
|
|
|
|
|
|
export default withModalMounter(withTracker(({ mountModal }) => ({
|
|
|
|
closeModal() {
|
|
|
|
mountModal(null);
|
|
|
|
},
|
|
|
|
|
|
|
|
endMeeting: () => {
|
2019-01-18 00:33:43 +08:00
|
|
|
makeCall('endMeeting');
|
2019-01-15 05:39:03 +08:00
|
|
|
mountModal(null);
|
|
|
|
},
|
|
|
|
|
|
|
|
}))(EndMeetingContainer));
|