bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/timer/indicator/container.jsx

19 lines
629 B
React
Raw Normal View History

2023-05-16 03:46:44 +08:00
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Indicator from './component';
import TimerService from '/imports/ui/components/timer/service';
const IndicatorContainer = (props) => {
return (<Indicator {...props} />);
};
export default withTracker(() => ({
timer: TimerService.getTimer(),
timeOffset: TimerService.getTimeOffset(),
isModerator: TimerService.isModerator(),
isTimerActive: TimerService.isActive(),
isMusicActive: TimerService.isMusicActive(),
currentTrack: TimerService.getCurrentTrack(),
2023-05-16 03:46:44 +08:00
hidden: Session.get('openPanel') !== '',
}))(IndicatorContainer);