diff --git a/frontend/src/app/components/header/header.component.ts b/frontend/src/app/components/header/header.component.ts index 5c8c67f..2bf9562 100644 --- a/frontend/src/app/components/header/header.component.ts +++ b/frontend/src/app/components/header/header.component.ts @@ -51,7 +51,7 @@ export class HeaderComponent { } onLibraryScreen(): boolean { - return this.router.url === "/library"; + return this.router.url.startsWith("/library"); } onLibraryManagementScreen(): boolean {