mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
(fix) Partial fix for md-contact-chips
Those fixes resolve the JavaScript errors, but the behavior is wrong; the displayed results are delayed with respect to the search string. md-contact-chips is expected to change (for the best) soon.
This commit is contained in:
@@ -146,11 +146,8 @@
|
||||
}
|
||||
|
||||
function userFilter($query) {
|
||||
var deferred = $q.defer();
|
||||
User.$filter($query).then(function(results) {
|
||||
deferred.resolve(results)
|
||||
});
|
||||
return deferred.promise;
|
||||
User.$filter($query);
|
||||
return User.$users;
|
||||
}
|
||||
|
||||
function save() {
|
||||
|
||||
Reference in New Issue
Block a user