Don't show left groups in list of all contacts
// FREEBIE
This commit is contained in:
parent
ef9559d844
commit
cc0b8e835a
2 changed files with 44 additions and 1 deletions
|
@ -125,7 +125,11 @@
|
|||
if (this.showAllContacts) {
|
||||
this.typeahead.fetchAlphabetical().then(function() {
|
||||
if (this.typeahead.length > 0) {
|
||||
this.typeahead_view.collection.reset(this.typeahead.models);
|
||||
this.typeahead_view.collection.reset(
|
||||
this.typeahead.filter(function(m) {
|
||||
return m.isSearchable();
|
||||
})
|
||||
);
|
||||
} else {
|
||||
this.showHints();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue