Show phone numbers in contact selector

This commit is contained in:
lilia 2015-02-04 09:23:00 -10:00
parent c7550aa9ae
commit 5e3ed1658b
3 changed files with 11 additions and 1 deletions

View file

@ -135,6 +135,14 @@
getTitle: function() {
return this.get('name') || this.get('members') || this.id;
},
getNumber: function() {
if (this.get('type') === 'private') {
return this.id;
} else {
return '';
}
}
});