bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/service.js

9 lines
180 B
JavaScript
Executable File

import Breakouts from '/imports/api/breakouts';
const getBreakouts = () => Breakouts.find().fetch().sort((a, b) => a.sequence > b.sequence);
export default {
getBreakouts,
};