Various bugfixes and removing unfairly cheap joke.

This commit is contained in:
softsimon
2020-03-28 16:38:28 +07:00
parent 3f35671fb5
commit 2f83da7ce9
5 changed files with 4 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ export class MempoolBlocksComponent implements OnInit, OnDestroy {
@HostListener('window:resize', ['$event'])
onResize() {
if (this.mempoolBlocks.length) {
if (this.mempoolBlocks && this.mempoolBlocks.length) {
this.mempoolBlocks = this.reduceMempoolBlocksToFitScreen(JSON.parse(JSON.stringify(this.mempoolBlocksFull)));
}
}