update wallets in the promise callback
This commit is contained in:
parent
eb3067d369
commit
e6d8ddb360
1 changed files with 5 additions and 0 deletions
|
|
@ -129,6 +129,11 @@ angular.module('copayApp.controllers').controller('walletSelectorController', fu
|
|||
} else {
|
||||
$scope.walletsInsufficientFunds.push(wallet);
|
||||
}
|
||||
if ($scope.coin === 'btc') { // As this is a promise
|
||||
$scope.walletsBtc = walletsSufficientFunds;
|
||||
} else {
|
||||
$scope.walletsBch = walletsSufficientFunds;
|
||||
}
|
||||
ongoingProcess.set('scanning', false);
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue