diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-09-05 23:14:24 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-09-05 23:14:24 +0200 |
commit | 559de5602c908858fab5301f610e3528eb146546 (patch) | |
tree | 8590de5295b35f387828569b79329d104b119a10 /client/components/boards | |
parent | 82b322777852b0f7b3f93295a0dbcc0c238bd20d (diff) | |
download | wekan-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.js | 2 |
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; }, |