add spinner for historyRendering

This commit is contained in:
Matias Alejo Garcia 2015-11-06 16:17:07 -03:00
commit 0be72abdfc
2 changed files with 18 additions and 3 deletions

View file

@ -828,9 +828,13 @@ angular.module('copayApp.controllers').controller('indexController', function($r
}
self.showAllHistory = function() {
self.historyShowShowAll = false;
self.historyRendering = true;
$timeout(function() {
$rootScope.$apply();
self.txHistory = self.completeHistory;
$timeout(function() {
self.historyRendering = false;
self.txHistory = self.completeHistory;
});
});
};