diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts
index 22e7fe6f8..ad17b0c4c 100644
--- a/apps/client/src/app/app.component.ts
+++ b/apps/client/src/app/app.component.ts
@@ -57,9 +57,8 @@ export class AppComponent implements OnDestroy, OnInit {
this.router.events
.pipe(filter((event) => event instanceof NavigationEnd))
- .subscribe((test) => {
+ .subscribe(() => {
this.currentRoute = this.router.url.toString().substring(1);
- // this.initializeTheme();
});
this.tokenStorageService
diff --git a/apps/client/src/app/components/header/header.component.html b/apps/client/src/app/components/header/header.component.html
index 9f1497436..883f82229 100644
--- a/apps/client/src/app/components/header/header.component.html
+++ b/apps/client/src/app/components/header/header.component.html
@@ -9,7 +9,7 @@
[routerLink]="['/']"
i18n
mat-flat-button
- [color]="currentRoute === 'home' ? 'primary' : null"
+ [color]="currentRoute?.startsWith('home') ? 'primary' : null"
>Overview
Analysis
X-ray
Transactions
Accounts
Admin Control
Resources
About