summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-05 23:14:24 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-05 23:14:24 +0200
commit559de5602c908858fab5301f610e3528eb146546 (patch)
tree8590de5295b35f387828569b79329d104b119a10 /client/components/boards
parent82b322777852b0f7b3f93295a0dbcc0c238bd20d (diff)
downloadwekan-559de5602c908858fab5301f610e3528eb146546.tar.gz
wekan-559de5602c908858fab5301f610e3528eb146546.tar.bz2
wekan-559de5602c908858fab5301f610e3528eb146546.zip
Fix an issue with the star counter
Diffstat (limited to 'client/components/boards')
-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;
},