wallet empty/no wallet fixes

This commit is contained in:
Sebastiaan Pasma 2018-07-13 14:54:26 +02:00
commit 00b4ee5849
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
2 changed files with 5 additions and 2 deletions

View file

@ -116,10 +116,13 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
};
var hasWallets = function() {
$scope.wallets = profileService.getWallets({
$scope.walletsWithFunds = profileService.getWallets({
onlyComplete: true,
hasFunds: true
});
$scope.wallets = profileService.getWallets({
onlyComplete: true,
});
$scope.walletsBch = profileService.getWallets({
onlyComplete: true,
coin: 'bch'

View file

@ -108,7 +108,7 @@
<wallet-selector
wallet-selector-title="walletSelectorTitleFrom"
wallet-selector-force-title="walletSelectorTitleForce"
wallet-selector-wallets="wallets"
wallet-selector-wallets="walletsWithFunds"
wallet-selector-selected-wallet="wallet"
wallet-selector-show="showWallets"
wallet-selector-on-select="onWalletSelect"