enable livenet push notifications

This commit is contained in:
Gabriel Bazán 2016-01-21 17:16:40 -03:00
commit c17fe98cec
2 changed files with 7 additions and 5 deletions

View file

@ -672,9 +672,11 @@ angular.module('copayApp.services')
copayerId: c.copayerId
};
});
ret = lodash.filter(ret, function(w) {
return (w.network == network);
});
if (network) {
ret = lodash.filter(ret, function(w) {
return (w.network == network);
});
}
return lodash.sortBy(ret, 'name');
};