Vulcan/client/views/notifications.js

7 lines
168 B
JavaScript
Raw Normal View History

2012-10-04 11:17:57 +10:00
Template.notifications.helpers({
notifications: function(){
var user=Meteor.user();
2012-10-04 11:45:29 +10:00
if(user && !user.loading)
2012-10-04 11:17:57 +10:00
return user.profile.notifications;
}
});