mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Fix mailto: that i broke in #484
This commit is contained in:
parent
ec24392664
commit
54107ca937
4 changed files with 36 additions and 24 deletions
|
|
@ -18,10 +18,8 @@ export class EmailCollectionModel extends AbstractCollectionModel
|
|||
* @param {boolean=} wrapWithLink = false
|
||||
* @returns {string}
|
||||
*/
|
||||
toString(friendlyView = false, wrapWithLink = false) {
|
||||
const result = [];
|
||||
this.forEach(email => result.push(email.toLine(friendlyView, wrapWithLink)));
|
||||
return result.join(', ');
|
||||
toString(friendlyView, wrapWithLink) {
|
||||
return this.map(email => email.toLine(friendlyView, wrapWithLink)).join(', ');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue