better loading
This commit is contained in:
parent
67d140e981
commit
ceca507fa5
2 changed files with 10 additions and 2 deletions
|
|
@ -408,9 +408,16 @@ history
|
||||||
</div>
|
</div>
|
||||||
<div class="m20t row">
|
<div class="m20t row">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
|
|
||||||
<button class="outline light-gray small expand"
|
<button class="outline light-gray small expand"
|
||||||
ng-click="index.updateTxHistory(index.skipHistory)" ng-show="index.txHistoryPaging && !index.updatingTxHistory">
|
ng-disabled="index.updatingTxHistory"
|
||||||
<span translate>More</span> <i class="icon-arrow-down4 ng-scope"></i>
|
ng-click="index.updateTxHistory(index.skipHistory)"
|
||||||
|
ng-show="index.txHistoryPaging || index.updatingTxHistory"
|
||||||
|
>
|
||||||
|
<span ng-show="!index.updatingTxHistory">
|
||||||
|
<span translate>More</span> <i class="icon-arrow-down4 ng-scope"></i>
|
||||||
|
</span>
|
||||||
|
<span translate ng-show="index.updatingTxHistory">Loading...</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -220,6 +220,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
$log.debug('Updating Transaction History');
|
$log.debug('Updating Transaction History');
|
||||||
self.txHistoryError = false;
|
self.txHistoryError = false;
|
||||||
self.updatingTxHistory = true;
|
self.updatingTxHistory = true;
|
||||||
|
self.txHistoryPaging = false;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$apply();
|
$rootScope.$apply();
|
||||||
fc.getTxHistory({
|
fc.getTxHistory({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue