From 821db133c86bca3b3f9e0c04534b565068316d26 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 3 Dec 2015 17:44:02 -0300 Subject: [PATCH] Fix loading wallet-history --- public/views/includes/walletInfo.html | 2 +- public/views/walletHome.html | 11 ++++++----- src/js/controllers/index.js | 5 +++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/public/views/includes/walletInfo.html b/public/views/includes/walletInfo.html index 4b9af85c5..0d42eb65a 100644 --- a/public/views/includes/walletInfo.html +++ b/public/views/includes/walletInfo.html @@ -12,5 +12,5 @@ - + diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 70a6a0a8b..a60f93259 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -173,21 +173,22 @@

Activity

-
+
-
+
No transactions yet -

Could not fetch transaction history

+

Could not fetch transaction history

-
-
+
+
diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index 52bbdea25..b895712d0 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -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;