Skip to content

Commit

Permalink
Step 15.2: Add isLoggedIn helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 09b540f commit 0e49c9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imports/ui/components/partiesList/partiesList.js
Expand Up @@ -45,6 +45,9 @@ class PartiesList {
},
partiesCount() {
return Counts.get('numberOfParties');
},
isLoggedIn() {
return !!Meteor.userId();
}
});
}
Expand Down

0 comments on commit 0e49c9a

Please sign in to comment.