format2
This commit is contained in:
parent
934409433e
commit
41b8c7f064
1 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
var updateHasFunds = function() {
|
var updateHasFunds = function() {
|
||||||
$scope.hasFunds = true;
|
$scope.hasFunds = true;
|
||||||
|
|
||||||
if ($rootScope.everHasFunds) {
|
if ($rootScope.everHadFunds) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -139,7 +139,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
}
|
}
|
||||||
walletsTotalBalance = walletsTotalBalance + status.availableBalanceSat;
|
walletsTotalBalance = walletsTotalBalance + status.availableBalanceSat;
|
||||||
if (walletsTotalBalance > 0) {
|
if (walletsTotalBalance > 0) {
|
||||||
$rootScope.everHasFunds = true;
|
$rootScope.everHadFunds = true;
|
||||||
}
|
}
|
||||||
if (index == wallets.length && walletsTotalBalance == 0) {
|
if (index == wallets.length && walletsTotalBalance == 0) {
|
||||||
$scope.hasFunds = false;
|
$scope.hasFunds = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue