Fixed rules about member and box dropdowns width

This commit is contained in:
Angelo Gallarello 2018-09-21 14:53:04 +02:00
parent 37a53e7466
commit 1f02321e27
7 changed files with 19 additions and 17 deletions

View file

@ -87,7 +87,7 @@ RulesHelper = {
card.removeLabel(action.labelId);
}
if(action.actionType === 'addMember'){
const memberId = Users.findOne({username:action.memberName})._id;
const memberId = Users.findOne({username:action.username})._id;
card.assignMember(memberId);
}
if(action.actionType === 'removeMember'){
@ -97,7 +97,7 @@ RulesHelper = {
card.unassignMember(members[i]);
}
}else{
const memberId = Users.findOne({username:action.memberName})._id;
const memberId = Users.findOne({username:action.username})._id;
card.unassignMember(memberId);
}
}