f43b77c19f
Conflicts: bigbluebutton-html5/imports/startup/client/base.jsx bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx bigbluebutton-html5/imports/ui/components/app/container.jsx bigbluebutton-html5/imports/ui/components/screenshare/service.js bigbluebutton-html5/imports/ui/components/video-dock/component.jsx bigbluebutton-html5/imports/ui/components/video-dock/container.jsx bigbluebutton-html5/private/locales/en.json bigbluebutton-html5/server/main.js
27 lines
647 B
JavaScript
27 lines
647 B
JavaScript
import React, { Component } from 'react';
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
|
|
import VideoDock from './component';
|
|
import VideoService from './service';
|
|
import Users from '/imports/api/users';
|
|
|
|
class VideoDockContainer extends Component {
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<VideoDock {...this.props}>
|
|
{this.props.children}
|
|
</VideoDock>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default createContainer(() => ({
|
|
sendUserShareWebcam: VideoService.sendUserShareWebcam,
|
|
sendUserUnshareWebcam: VideoService.sendUserUnshareWebcam,
|
|
users: Users.find().fetch(),
|
|
}), VideoDockContainer);
|