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, }, ]