Merge pull request #5262 from mempool/simon/accelerator-default-hide
Only default show accelerator on mempool space
This commit is contained in:
commit
d0358f1551
@ -177,7 +177,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.forceAccelerationSummary = !!urlParams.get('cash_request_id');
|
this.forceAccelerationSummary = !!urlParams.get('cash_request_id');
|
||||||
|
|
||||||
this.hideAccelerationSummary = this.storageService.getValue('hide-accelerator-pref') == 'true';
|
this.hideAccelerationSummary = this.stateService.isMempoolSpaceBuild ? this.storageService.getValue('hide-accelerator-pref') == 'true' : true;
|
||||||
|
|
||||||
if (!this.stateService.isLiquid()) {
|
if (!this.stateService.isLiquid()) {
|
||||||
this.miningService.getMiningStats('1w').subscribe(stats => {
|
this.miningService.getMiningStats('1w').subscribe(stats => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user