mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
Fix an issue with the star counter
This commit is contained in:
parent
82b3227778
commit
559de5602c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue