add spinner for historyRendering
This commit is contained in:
parent
0b2ddeb8d4
commit
0be72abdfc
2 changed files with 18 additions and 3 deletions
|
|
@ -457,7 +457,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m20t text-center" ng-show="index.updatingTxHistory">
|
||||
<div class="row m20t text-center" ng-show="index.updatingtxhistory">
|
||||
<div class="columns large-12 medium-12 small-12">
|
||||
<div class="spinner">
|
||||
<div class="rect1"></div>
|
||||
|
|
@ -521,6 +521,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row m20t text-center" ng-show="index.historyRendering">
|
||||
<div class="columns large-12 medium-12 small-12">
|
||||
<div class="spinner">
|
||||
<div class="rect1"></div>
|
||||
<div class="rect2"></div>
|
||||
<div class="rect3"></div>
|
||||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row m20t">
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue