fix available balance

This commit is contained in:
Matias Alejo Garcia 2015-05-30 23:01:45 -03:00
commit 2df939ae3a
2 changed files with 4 additions and 2 deletions

View file

@ -278,7 +278,7 @@
<div>
<h4 class="title m0">
<div ng-show="!index.lockedBalance">
<div ng-show="!index.lockedBalance && index.availableBalanceStr">
<div class="size-12">
<span class="db text-bold">
<span translate>Available Balance</span>:

View file

@ -75,6 +75,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
// Clean status
self.lockedBalance = null;
self.availableBalanceStr = null;
self.totalBalanceStr = null;
self.lockedBalanceStr = null;
self.totalBalanceStr = null;
self.alternativeBalanceAvailable = false;
self.totalBalanceAlternative = null;
@ -82,7 +85,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.txHistory = [];
self.txHistoryPaging = false;
self.pendingTxProposalsCountForUs = null;
$timeout(function() {
self.hasProfile = true;
self.noFocusedWallet = false;