[debug] SERVICES -> GIT_COMMIT_HASH_MEMPOOL_SPACE in env

This commit is contained in:
nymkappa committed 2023-08-21 08:57:27 +02:00
1 parent e82b43e340
commit a1e2d2fd74
6 files changed
+25 -20

No files matched your search

@@ -31,7 +31,7 @@ export class GlobalFooterComponent implements OnInit {
username = null;
urlSubscription: Subscription;
addPadding = false;
isServices = false;
isServicesPage = false;
constructor(
public stateService: StateService,
@@ -46,8 +46,8 @@ export class GlobalFooterComponent implements OnInit {
) {}
ngOnInit(): void {
this.isServices = this.router.url.includes('/services/');
this.addPadding = this.isServices && !this.isSmallScreen();
this.isServicesPage = this.router.url.includes('/services/');
this.addPadding = this.isServicesPage && !this.isSmallScreen();
this.env = this.stateService.env;
this.backendInfo$ = this.stateService.backendInfo$;