Fix loading wallet-history

This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-03 17:44:02 -03:00
commit 821db133c8
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 12 additions and 6 deletions

View file

@ -64,6 +64,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
var fc = profileService.focusedClient;
if (!fc) return;
// loading full wallet
self.loadingWallet = true;
// Clean status
self.totalBalanceSat = null;
self.lockedBalanceSat = null;
@ -923,6 +926,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$timeout(function() {
self.updateLocalTxHistory(fc, function(err) {
self.updatingTxHistory[walletId] = false;
self.loadingWallet = false;
self.txProgress = 0;
if (err)
self.txHistoryError = true;