bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/service.js
2016-05-30 15:07:02 -07:00

19 lines
389 B
JavaScript
Executable File

import Presentations from '/imports/api/presentations';
import Slides from '/imports/api/slides';
let getPresentationInfo = () => {
let currentPresentation;
currentPresentation = Presentations.findOne({
'presentation.current': true,
});
return {
current_presentation: (currentPresentation != null ? true : false),
};
};
export default {
getPresentationInfo,
};