fix bad block 1 link

This commit is contained in:
Mononaut 2025-12-19 15:46:13 +00:00
parent 1933a6535e
commit d3d66dbf18
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -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;