From 5a9dde08072ba3a965ad7bf218ad085596bf736d Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 3 Jul 2024 12:27:29 +0900 Subject: [PATCH] Only default show accelerator on mempool space --- .../src/app/components/transaction/transaction.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index 7b401f8da..467fa7065 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -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 => {