Optimized address transaction fetching.

This commit is contained in:
softsimon
2020-02-28 03:51:59 +07:00
parent 2422356704
commit 12b66301ac
2 changed files with 57 additions and 9 deletions

View File

@@ -49,7 +49,7 @@
<div class="spinner-border"></div>
<br><br>
</ng-template>
<button *ngIf="transactions?.length && transactions?.length !== txCount" type="button" class="btn btn-primary" (click)="loadMore()">Load more</button>
<button *ngIf="!isLoadingTransactions && totalConfirmedTxCount && loadedConfirmedTxCount < totalConfirmedTxCount" type="button" class="btn btn-primary" (click)="loadMore()">Load more</button>
</div>
</ng-template>