-
+
@@ -359,7 +359,7 @@
-
+
{{selectedAddr.balance || 0}}
diff --git a/js/controllers/addresses.js b/js/controllers/addresses.js
index c34931dd2..943b5a6f4 100644
--- a/js/controllers/addresses.js
+++ b/js/controllers/addresses.js
@@ -20,12 +20,13 @@ angular.module('copay.addresses').controller('AddressesController',
$scope.selectedAddr = addr;
};
- $rootScope.$watch('addrInfos', function(addrInfos) {
- $scope.addressList(addrInfos);
+ $rootScope.$watch('addrInfos', function() {
+ $scope.addressList();
});
- $scope.addressList = function (addrInfos) {
+ $scope.addressList = function () {
$scope.addresses = [];
+ var addrInfos = $rootScope.addrInfos;
if (addrInfos) {
for(var i=0;i