mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
Merge pull request #1484 from mempool/nymkappa/feature/block-reward-all-network
Show block reward on blockchain blocks for all Bitcoin networks
This commit is contained in:
commit
fb0e7ec240
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue