Fix: Helper to list boards for user. Thanks to milesibastos ! Closes #1326

This commit is contained in:
Lauri Ojansivu 2017-11-19 09:50:03 +02:00
parent 0ea96fca3f
commit 9353d785ea
2 changed files with 6 additions and 5 deletions

View file

@ -159,7 +159,7 @@ if (Meteor.isClient) {
Users.helpers({
boards() {
return Boards.find({userId: this._id});
return Boards.find({ 'members.userId': this._id });
},
starredBoards() {