Infinite scroll fixes.

This commit is contained in:
softsimon
2020-03-01 16:33:18 +07:00
parent 90c05ccb51
commit dc775b7ee5
3 changed files with 5 additions and 2 deletions

View File

@@ -62,6 +62,9 @@ export class LatestBlocksComponent implements OnInit, OnDestroy {
}
loadMore() {
if (this.isLoading) {
return;
}
this.isLoading = true;
this.electrsApiService.listBlocks$(this.blocks[this.blocks.length - 1].height - 1)
.subscribe((blocks) => {