bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/service.js

19 lines
389 B
JavaScript
Raw Normal View History

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,
};