From 90ba374d338dbe3cd0d7f628b1a0daa3941bb553 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Thu, 17 Jul 2025 21:39:40 -0700 Subject: [PATCH] follow titlebar updates --- src/Client/src/app/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/src/app/app.ts b/src/Client/src/app/app.ts index 021882b..d1bdf89 100644 --- a/src/Client/src/app/app.ts +++ b/src/Client/src/app/app.ts @@ -12,13 +12,13 @@ import { CommonModule } from '@angular/common'; export class App { @ViewChild('homeLink') homeLink!: ElementRef; - @ViewChild('companiesLink') companyLink!: ElementRef; @ViewChild('jobsLink') jobLink!: ElementRef; + @ViewChild('resumesLink') resumeLink!: ElementRef; constructor(public auth: Authentication, private router: Router){} ngAfterViewInit(){ - let ViewLinks = [ this.homeLink, this.companyLink, this.jobLink ]; + let ViewLinks = [ this.homeLink, 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");