Tiny fixes

This commit is contained in:
Tainan Felipe 2018-07-09 09:13:11 -03:00
parent 3468447f81
commit f8b683a611
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ export default withRouter(withTracker(({ location, router }) => {
breakouts,
currentUserId,
meetingId,
getBreakoutJoinURL: Service.getBreakoutJoinURL,
presentationTitle: meetingTitle,
hasUnreadMessages: checkUnreadMessages(),
isBreakoutRoom: meetingIsBreakout(),

View File

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