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

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