mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 01:04:28 +01:00
Merge pull request #1492 from mempool/nymkappa/bugfix/unknown-miner-tag
If mining dashboard is enabled, set block miner to "Unknown" by default
This commit is contained in:
commit
f5c558e055
@ -27,6 +27,11 @@ export class MinerComponent implements OnChanges {
|
|||||||
|
|
||||||
ngOnChanges() {
|
ngOnChanges() {
|
||||||
this.miner = '';
|
this.miner = '';
|
||||||
|
if (this.stateService.env.MINING_DASHBOARD) {
|
||||||
|
this.miner = 'Unknown';
|
||||||
|
this.url = this.relativeUrlPipe.transform(`/mining/pool/unknown`);
|
||||||
|
this.target = '';
|
||||||
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.findMinerFromCoinbase();
|
this.findMinerFromCoinbase();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user