summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/boards/boardHeader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 5d13fa34..f98b6eef 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -43,7 +43,7 @@ BlazeComponent.extendComponent({
// Only show the star counter if the number of star is greater than 2
showStarCounter() {
- const currentBoard = this.currentData();
+ const currentBoard = Boards.findOne(Session.get('currentBoard'));
return currentBoard && currentBoard.stars >= 2;
},