fix(mail): autocomplete can find two lists named the same but in different address books

This commit is contained in:
Hivert Quentin
2023-05-25 17:00:29 +02:00
committed by smizrahi
parent 24200e7d34
commit 854e83c22c
@@ -305,7 +305,7 @@
});
// Remove duplicates
return _.uniqBy(explodedCards, function(card) {
return card.$$fullname + ' ' + card.$$email;
return card.$$fullname + ' ' + card.$$email + ' ' + card.containername;
});
});
};