fix conflict
This commit is contained in:
commit
ded325af46
6 changed files with 27 additions and 18 deletions
|
|
@ -11,9 +11,10 @@ angular.module('copay.addresses').controller('AddressesController',
|
|||
var _updateBalance = function () {
|
||||
controllerUtils.setSocketHandlers();
|
||||
|
||||
w.getBalance(function (balance, balanceByAddr) {
|
||||
w.getBalance(function (balance, balanceByAddr, isMain) {
|
||||
if (balanceByAddr && Object.keys(balanceByAddr).length) {
|
||||
$rootScope.balanceByAddr = balanceByAddr;
|
||||
$scope.isMain = isMain;
|
||||
$scope.addrs = Object.keys(balanceByAddr);
|
||||
$scope.selectedAddr = $scope.addrs[0];
|
||||
$rootScope.$digest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue