summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-11-02 16:12:40 +0200
committerLauri Ojansivu <x@xet7.org>2019-11-02 16:12:40 +0200
commit3e8f9ef1a5275a5e9b691c7e74dc73b97a43689a (patch)
treee035c173de03a19ba61e718035609d1881edfd0c /models/cards.js
parent92efb8bec4744d7eacb134109a325a2c960790cb (diff)
downloadwekan-3e8f9ef1a5275a5e9b691c7e74dc73b97a43689a.tar.gz
wekan-3e8f9ef1a5275a5e9b691c7e74dc73b97a43689a.tar.bz2
wekan-3e8f9ef1a5275a5e9b691c7e74dc73b97a43689a.zip
Assignee field like Jira #2452 , in progress.
Added features: - Assignee can now be added and removed. - Avatar icon is at card and assignee details TODO: - When selecting new assignee (+) icon, list does not yet show avatars and names who to add. There is empty avatar without name. Thanks to xet7 !
Diffstat (limited to 'models/cards.js')
-rw-r--r--models/cards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js
index 78005b38..f454c72c 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -763,7 +763,7 @@ Cards.helpers({
return card.assignees;
} else if (this.isLinkedBoard()) {
const board = Boards.findOne({ _id: this.linkedId });
- return board.activeAssignees().map(assignee => {
+ return board.activeMembers().map(assignee => {
return assignee.userId;
});
} else {