From 8d395c46dace89299c8fe9dec4b77052ae5de421 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Fri, 13 Mar 2026 08:46:32 +0100 Subject: [PATCH] [graph] move acceleration and price into "More" graph section --- .../components/graphs/graphs.component.html | 23 +++++++++++-------- .../src/app/graphs/graphs.routing.module.ts | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/frontend/src/app/components/graphs/graphs.component.html b/frontend/src/app/components/graphs/graphs.component.html index 0fe15ca3c..74e37d298 100644 --- a/frontend/src/app/components/graphs/graphs.component.html +++ b/frontend/src/app/components/graphs/graphs.component.html @@ -45,17 +45,20 @@ -
- -
- Acceleration Fees + @if (isMainnet) { +
+ +
+ @if (stateService.env.ACCELERATOR) { + Acceleration Fees + } + @if (stateService.env.HISTORICAL_PRICE) { + Price + } +
-
- - @if (stateService.env.HISTORICAL_PRICE && isMainnet) { - Price }
diff --git a/frontend/src/app/graphs/graphs.routing.module.ts b/frontend/src/app/graphs/graphs.routing.module.ts index 7414ed077..b33894c29 100644 --- a/frontend/src/app/graphs/graphs.routing.module.ts +++ b/frontend/src/app/graphs/graphs.routing.module.ts @@ -171,7 +171,7 @@ const routes: Routes = [ }, { path: 'price', - data: { networks: ['bitcoin'] }, + data: { networks: ['bitcoin'], networkSpecific: true, onlySubnet: [''] }, component: PriceChartComponent, }, ]