fix board headeer issue

This commit is contained in:
floatinghotpot 2015-12-17 20:38:33 +08:00
parent ce88495d47
commit d2ac3dc63d
5 changed files with 34 additions and 15 deletions

View file

@ -39,6 +39,10 @@ BlazeComponent.extendComponent({
return user && user.hasStarred(boardId);
},
isMiniScreen() {
return Utils.isMiniScreen();
},
// Only show the star counter if the number of star is greater than 2
showStarCounter() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));