bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/captions/container.jsx
Ramón Souza 3840d4ff63 fix(closed captions): avoid padId subscription
Remove padIds from the closed captions MongoDB collection subscription.

Users now have to fetch the padId from Meteor when needed. Meteor is
responsible for checking the user's access level and return the
proper id.
2021-10-04 19:22:18 +00:00

23 lines
418 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import CaptionsService from './service';
import Captions from './component';
const CaptionsContainer = props => (
<Captions {...props} />
);
export default withTracker(() => {
const {
locale,
revs,
data,
} = CaptionsService.getCaptionsData();
return {
locale,
revs,
data,
};
})(CaptionsContainer);