diff --git a/src/Client/src/app/app.ts b/src/Client/src/app/app.ts index 7c72022..147e71a 100644 --- a/src/Client/src/app/app.ts +++ b/src/Client/src/app/app.ts @@ -13,10 +13,6 @@ import { isDevMode } from '@angular/core'; }) export class App { - @ViewChild('companiesLink') companiesLink!: ElementRef; - @ViewChild('jobsLink') jobLink!: ElementRef; - @ViewChild('resumesLink') resumeLink!: ElementRef; - devMode: boolean = false; constructor( private http: HttpClient, public auth: Authentication, private router: Router, private route: ActivatedRoute, private location: Location){ @@ -48,13 +44,4 @@ export class App { }); } - ngAfterViewInit(){ - let ViewLinks = [ this.companiesLink, this.resumeLink, this.jobLink ]; - ViewLinks.forEach(link => { - if (new URL(link.nativeElement.href).pathname === new URL(window.location.href).pathname){ - link.nativeElement.classList.add("active"); - } - }); - } - }