Show phone numbers in contact selector
This commit is contained in:
parent
c7550aa9ae
commit
5e3ed1658b
3 changed files with 11 additions and 1 deletions
|
@ -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 '';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue