Merge pull request #862 from yemel/fix/address-list

Fix showing QR code on address list when it shouldn't
This commit is contained in:
Matias Alejo Garcia 2014-07-08 15:05:55 -03:00
commit 5d63741f35
3 changed files with 8 additions and 2 deletions

View file

@ -19,6 +19,7 @@ angular.module('copayApp.filters', [])
})
.filter('removeEmpty', function() {
return function(elements) {
elements = elements || [];
// Hide empty addresses from other copayers
return elements.filter(function(e) {
return e.owned || e.balance > 0;