diff --git a/src/app/layout/components/navbar/navbar.component.ts b/src/app/layout/components/navbar/navbar.component.ts index 4809bb61..e4424f8a 100644 --- a/src/app/layout/components/navbar/navbar.component.ts +++ b/src/app/layout/components/navbar/navbar.component.ts @@ -78,7 +78,7 @@ export class NavbarComponent implements OnInit, OnDestroy ) .subscribe(() => { setTimeout(() => { - const activeNavItem = document.querySelector('navbar .nav-link.active'); + const activeNavItem: any = document.querySelector('navbar .nav-link.active'); if ( activeNavItem ) {