Only default show accelerator on mempool space

This commit is contained in:
softsimon 2024-07-03 12:27:29 +09:00
parent ae8b6043b2
commit 5a9dde0807
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -177,7 +177,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
const urlParams = new URLSearchParams(window.location.search);
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()) {
this.miningService.getMiningStats('1w').subscribe(stats => {