diff --git a/frontend/src/app/components/block/block.component.ts b/frontend/src/app/components/block/block.component.ts index bc20125f8..b1b055957 100644 --- a/frontend/src/app/components/block/block.component.ts +++ b/frontend/src/app/components/block/block.component.ts @@ -569,7 +569,7 @@ export class BlockComponent implements OnInit, OnDestroy { } else { this.showPreviousBlocklink = true; } - if (this.latestBlock.height && this.latestBlock.height === this.blockHeight) { + if (this.latestBlock.height != null && this.latestBlock.height === this.blockHeight) { this.showNextBlocklink = false; } else { this.showNextBlocklink = true;