Enable input in bits/BTC to reload the debit card
This commit is contained in:
parent
c31fb5f5c4
commit
bc2d530e90
13 changed files with 84 additions and 101 deletions
|
|
@ -112,8 +112,13 @@ angular.module('copayApp.controllers').controller('buyAmazonController', functio
|
|||
$scope.network = amazonService.getNetwork();
|
||||
$scope.wallets = profileService.getWallets({
|
||||
onlyComplete: true,
|
||||
network: $scope.network
|
||||
network: $scope.network,
|
||||
hasFunds: true
|
||||
});
|
||||
if (lodash.isEmpty($scope.wallets)) {
|
||||
showErrorAndBack('No wallets with funds');
|
||||
return;
|
||||
}
|
||||
$scope.wallet = $scope.wallets[0]; // Default first wallet
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue