Merge branch 'master' into feature-ostrio-files

This commit is contained in:
David Arnold 2020-10-20 11:43:12 -05:00
commit 620cc0dedc
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
95 changed files with 1070 additions and 488 deletions

View file

@ -1412,15 +1412,24 @@ Cards.mutations({
assignAssignee(assigneeId) {
// If there is not any assignee, allow one assignee, not more.
/*
if (this.getAssignees().length === 0) {
return {
$addToSet: {
assignees: assigneeId,
},
};
} else {
return false;
}
*/
// Allow more that one assignee:
// https://github.com/wekan/wekan/issues/3302
return {
$addToSet: {
assignees: assigneeId,
},
};
//} else {
// return false,
//}
},
unassignMember(memberId) {