Fixed board id bug in move

This commit is contained in:
Angelo Gallarello 2018-09-12 12:19:53 +02:00
parent 34b37116cf
commit e649c79bb7
3 changed files with 6 additions and 4 deletions

View file

@ -4,7 +4,8 @@ BlazeComponent.extendComponent({
},
rules() {
return Rules.find({});
const boardId = Session.get('currentBoard');
return Rules.find({"boardId":boardId});
},
events() {
return [{}];