Merge pull request #6175 from mempool/mononaut/block-1-link

fix bad block 1 link
This commit is contained in:
wiz 2025-12-21 15:56:22 +09:00 committed by GitHub
commit 9812fb4bb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;