mirror of
https://github.com/wekan/wekan.git
synced 2026-03-12 16:42:33 +01:00
Merge branch 'master' into feature-ostrio-files
This commit is contained in:
commit
620cc0dedc
95 changed files with 1070 additions and 488 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue