Hide empty addresses from othe copayers

This commit is contained in:
Yemel Jardi 2014-07-03 13:04:01 -03:00
commit fd2cf54eb4
5 changed files with 24 additions and 9 deletions

View file

@ -33,7 +33,8 @@ angular.module('copayApp.controllers').controller('AddressesController',
$scope.addresses.push({
'address': addrinfo.addressStr,
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
'isChange': addrinfo.isChange
'isChange': addrinfo.isChange,
'owned': addrinfo.owned
});
}
$scope.selectedAddr = $scope.addresses[0];