mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Show mining blockchain blocks on accelerator dashboard
This commit is contained in:
parent
7019e6ec03
commit
b0e73466fa
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy {
|
|||
}
|
||||
|
||||
enabledMiningInfoIfNeeded(url) {
|
||||
this.showMiningInfo = url.indexOf('/mining') !== -1;
|
||||
this.showMiningInfo = url.includes('/mining') || url.includes('/acceleration');
|
||||
this.cd.markForCheck(); // Need to update the view asap
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ export class MempoolBlocksComponent implements OnInit, OnChanges, OnDestroy {
|
|||
) { }
|
||||
|
||||
enabledMiningInfoIfNeeded(url) {
|
||||
this.showMiningInfo = url.indexOf('/mining') !== -1;
|
||||
this.showMiningInfo = url.includes('/mining') || url.includes('/acceleration');
|
||||
this.cd.markForCheck(); // Need to update the view asap
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue