Added copayers list
This commit is contained in:
parent
d8c9994845
commit
07b4050d39
2 changed files with 25 additions and 5 deletions
|
|
@ -8,9 +8,15 @@ angular.module('copayApp.controllers').controller('HomeWalletController',
|
|||
|
||||
|
||||
if ($rootScope.addrInfos) {
|
||||
|
||||
$scope.address = $rootScope.addrInfos[0];
|
||||
}
|
||||
|
||||
$scope.copayersList = function() {
|
||||
if ($rootScope.wallet) {
|
||||
$scope.copayers = $rootScope.wallet.getRegisteredPeerIds();
|
||||
}
|
||||
return $scope.copayers;
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue