Assignee field like Jira #2452 , in progress.

Added features:
- When selecting new assignee (+) icon, list shows names who to add.

TODO:
- When selecting new assignee (+) icon, list does not yet show avatars who to add.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-11-02 16:38:16 +02:00
parent e033959278
commit 32ce2b51d8

View file

@ -863,6 +863,19 @@ Template.cardAssigneesPopup.events({
},
});
Template.cardAssigneesPopup.helpers({
isCardAssignee() {
const card = Template.parentData();
const cardAssignees = card.getAssignees();
return _.contains(cardAssignees, this.userId);
},
user() {
return Users.findOne(this.userId);
},
});
Template.cardAssigneePopup.helpers({
userData() {
// We need to handle a special case for the search results provided by the