mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 15:26:14 +08:00
No use for contacts generateUid()
This commit is contained in:
parent
453e9b0f3e
commit
ee6654474d
2 changed files with 1 additions and 8 deletions
|
@ -194,13 +194,6 @@ export class ContactModel extends AbstractModel {
|
|||
return contact;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
generateUid() {
|
||||
return this.id();
|
||||
}
|
||||
|
||||
addEmail() {
|
||||
// home, work
|
||||
this.email.push({
|
||||
|
|
|
@ -62,7 +62,7 @@ export class ContactsPopupView extends AbstractViewPopup {
|
|||
|
||||
this.selector.on('ItemSelect', contact => this.populateViewContact(contact));
|
||||
|
||||
this.selector.on('ItemGetUid', contact => contact ? contact.generateUid() : '');
|
||||
this.selector.on('ItemGetUid', contact => contact ? contact.id() : '');
|
||||
|
||||
addComputablesTo(this, {
|
||||
contactsPaginator: computedPaginatorHelper(
|
||||
|
|
Loading…
Reference in a new issue