summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardHeader.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/boards/boardHeader.js')
-rw-r--r--client/components/boards/boardHeader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 742d72bc..efe6b5ef 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -29,9 +29,9 @@ BlazeComponent.extendComponent({
},
isStarred: function() {
- var currentBoard = this.currentData();
+ var boardId = Session.get('currentBoard');
var user = Meteor.user();
- return currentBoard && user && user.hasStarred(currentBoard._id);
+ return user && user.hasStarred(boardId);
},
// Only show the star counter if the number of star is greater than 2