mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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;
|
return contact;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns {string}
|
|
||||||
*/
|
|
||||||
generateUid() {
|
|
||||||
return this.id();
|
|
||||||
}
|
|
||||||
|
|
||||||
addEmail() {
|
addEmail() {
|
||||||
// home, work
|
// home, work
|
||||||
this.email.push({
|
this.email.push({
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ export class ContactsPopupView extends AbstractViewPopup {
|
||||||
|
|
||||||
this.selector.on('ItemSelect', contact => this.populateViewContact(contact));
|
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, {
|
addComputablesTo(this, {
|
||||||
contactsPaginator: computedPaginatorHelper(
|
contactsPaginator: computedPaginatorHelper(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue