UX: just update address balance that received fund.
Changed rootscope for scope to control address page. Fixes: not alert when address change receive fund
This commit is contained in:
parent
3f8612ee0c
commit
9428ea55d5
4 changed files with 80 additions and 26 deletions
|
|
@ -117,7 +117,6 @@ angular.module('copay.controllerUtils')
|
|||
w.getBalance(function(balance, balanceByAddr, safeBalance) {
|
||||
$rootScope.totalBalance = balance;
|
||||
$rootScope.balanceByAddr = balanceByAddr;
|
||||
$rootScope.selectedAddr = $rootScope.addrInfos[0].address.toString();
|
||||
$rootScope.availableBalance = safeBalance;
|
||||
$rootScope.updatingBalance = false;
|
||||
console.log('Done updating balance.'); //TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue