Fix loading wallet-history
This commit is contained in:
parent
0596c6fd42
commit
821db133c8
3 changed files with 12 additions and 6 deletions
|
|
@ -12,5 +12,5 @@
|
|||
<!-- <img style="height:1em" ng-show="index.preferences.email" src="img/icon-email.svg"> -->
|
||||
<img style="height:1em" ng-show="index.usingCustomBWS" src="img/icon-bws.svg">
|
||||
|
||||
<img style="height:1em" class="animated flash infinite" ng-show="index.updatingTxHistory[index.walletId]" src="img/icon-sync.svg">
|
||||
<img style="height:1em" class="animated flash infinite" ng-show="index.loadingWallet" src="img/icon-sync.svg">
|
||||
|
||||
|
|
|
|||
|
|
@ -173,21 +173,22 @@
|
|||
<!-- Activity -->
|
||||
|
||||
<h4 class="title m0" translate>Activity</h4>
|
||||
<div class="row m20t" ng-show="!index.updatingTxHistory[index.walletId] && !index.txHistory[0]">
|
||||
<div class="row"
|
||||
ng-show="!index.loadingWallet && !index.txHistory[0]">
|
||||
<div class="large-12 columns">
|
||||
<div class="oh text-center">
|
||||
<div class="oh text-gray size-12 text-center">
|
||||
<span ng-if="!index.txHistoryError" translate>
|
||||
No transactions yet
|
||||
</span>
|
||||
<span ng-show="index.txHistoryError && !index.notAuthorized" ng-click='index.updateTxHistory()'>
|
||||
<p class="size-12 m10b db text-gray" translate>Could not fetch transaction history</p>
|
||||
<p translate>Could not fetch transaction history</p>
|
||||
<button class="outline round light-gray tiny" translate>Tap to retry</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="index.updatingTxHistory[index.walletId]">
|
||||
<div class="row p20 text-center" ng-show="index.txProgress > 6">
|
||||
<div ng-show="index.updatingTxHistory[index.walletId] && index.txProgress > 6">
|
||||
<div class="row p20 text-center">
|
||||
<div class="columns large-12 medium-12 small-12 m10b">
|
||||
<div class="spinner">
|
||||
<div class="rect1"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue