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 {
|
} else {
|
||||||
$scope.walletsInsufficientFunds.push(wallet);
|
$scope.walletsInsufficientFunds.push(wallet);
|
||||||
}
|
}
|
||||||
|
if ($scope.coin === 'btc') { // As this is a promise
|
||||||
|
$scope.walletsBtc = walletsSufficientFunds;
|
||||||
|
} else {
|
||||||
|
$scope.walletsBch = walletsSufficientFunds;
|
||||||
|
}
|
||||||
ongoingProcess.set('scanning', false);
|
ongoingProcess.set('scanning', false);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue