Show block reward on blockchain blocks for all Bitcoin networks

This commit is contained in:
nymkappa 2022-03-30 15:47:47 +09:00
parent 796db0de4b
commit 1f20a56ae7
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
}
enabledMiningInfoIfNeeded(url) {
this.showMiningInfo = url === '/mining';
this.showMiningInfo = url.indexOf('/mining') !== -1;
this.cd.markForCheck(); // Need to update the view asap
}

View File

@ -62,7 +62,7 @@ export class MempoolBlocksComponent implements OnInit, OnDestroy {
) { }
enabledMiningInfoIfNeeded(url) {
this.showMiningInfo = url === '/mining';
this.showMiningInfo = url.indexOf('/mining') !== -1;
this.cd.markForCheck(); // Need to update the view asap
}