mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fixed rules about member and box dropdowns width
This commit is contained in:
parent
37a53e7466
commit
1f02321e27
7 changed files with 19 additions and 17 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue