bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/connection-status/button/container.jsx
Pedro Beschorner Marin 280b32d21d Move connection-status to nav-bar
- Removed the connection-status history from the user list's gear
icon and now is opened by the connection-status button. Moderators will
render the same modal as before and viewers will only have access to their
own data.

 - Added data-savings shortcut at the connection-status modal.

 - Added websocket round-trip time.
2021-03-26 10:12:09 -03:00

17 lines
523 B
JavaScript

import React from 'react';
import { Meteor } from 'meteor/meteor';
import { withTracker } from 'meteor/react-meteor-data';
import ConnectionStatusService from '../service';
import ConnectionStatusButtonComponent from './component';
const connectionStatusButtonContainer = props => <ConnectionStatusButtonComponent {...props} />;
export default withTracker(() => {
const { connected } = Meteor.status();
return {
connected,
stats: ConnectionStatusService.getStats(),
};
})(connectionStatusButtonContainer);