mirror of
https://github.com/mempool/mempool.git
synced 2024-12-29 09:44:26 +01:00
Show block reward on blockchain blocks for all Bitcoin networks
This commit is contained in:
parent
796db0de4b
commit
1f20a56ae7
@ -51,7 +51,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enabledMiningInfoIfNeeded(url) {
|
enabledMiningInfoIfNeeded(url) {
|
||||||
this.showMiningInfo = url === '/mining';
|
this.showMiningInfo = url.indexOf('/mining') !== -1;
|
||||||
this.cd.markForCheck(); // Need to update the view asap
|
this.cd.markForCheck(); // Need to update the view asap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ export class MempoolBlocksComponent implements OnInit, OnDestroy {
|
|||||||
) { }
|
) { }
|
||||||
|
|
||||||
enabledMiningInfoIfNeeded(url) {
|
enabledMiningInfoIfNeeded(url) {
|
||||||
this.showMiningInfo = url === '/mining';
|
this.showMiningInfo = url.indexOf('/mining') !== -1;
|
||||||
this.cd.markForCheck(); // Need to update the view asap
|
this.cd.markForCheck(); // Need to update the view asap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user