This commit is contained in:
yamanq 2016-08-12 17:48:49 -04:00
parent 60b1da6284
commit e0601fc6f5

View File

@ -38,7 +38,7 @@ var options = {
var searchSchools = []; var searchSchools = [];
Session.set("calendarclasses", Meteor.user().profile.classes); Session.set("calendarclasses", null);
Session.set("sidebar", null); Session.set("sidebar", null);
Session.set("mode", null); // Change to user preferences Session.set("mode", null); // Change to user preferences
@ -57,6 +57,7 @@ Template.registerHelper('overlayDim', (part) => {
Template.main.helpers({ Template.main.helpers({
schoolName() { schoolName() {
Session.set("calendarclasses", Meteor.user().profile.classes);
return " - " + Meteor.user().profile.school; return " - " + Meteor.user().profile.school;
}, },
iconColor(icon) { iconColor(icon) {