Add config for public acceleration data

This commit is contained in:
Mononaut
2024-04-02 08:19:35 +00:00
parent 68a7a89fd6
commit 37aee77eb4
5 changed files with 9 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ export class PoolComponent implements OnInit {
);
this.oobFees$ = this.route.params.pipe(map((params) => params.slug)).pipe(
filter(() => this.stateService.env.PUBLIC_ACCELERATIONS === true),
switchMap(slug => {
return combineLatest([
this.apiService.getAccelerationTotals$(this.slug, '1w'),