mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix: Helper to list boards for user. Thanks to milesibastos ! Closes #1326
This commit is contained in:
parent
0ea96fca3f
commit
9353d785ea
2 changed files with 6 additions and 5 deletions
|
@ -159,7 +159,7 @@ if (Meteor.isClient) {
|
|||
|
||||
Users.helpers({
|
||||
boards() {
|
||||
return Boards.find({userId: this._id});
|
||||
return Boards.find({ 'members.userId': this._id });
|
||||
},
|
||||
|
||||
starredBoards() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue