From debe7c5869bf473ac149e6ea08ec386f6a10efdb Mon Sep 17 00:00:00 2001 From: Daniel Palafox Date: Tue, 28 Nov 2023 15:15:55 -0500 Subject: [PATCH] fix: Remove header link from `my-orcid` page --- src/app/layout/header/header.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/layout/header/header.component.ts b/src/app/layout/header/header.component.ts index eb039c74ec..ab85facefa 100644 --- a/src/app/layout/header/header.component.ts +++ b/src/app/layout/header/header.component.ts @@ -71,7 +71,7 @@ export class HeaderComponent implements OnInit { this.signinRegisterButton = path !== `/${ApplicationRoutes.signin}` this.hideMainMenu = ORCID_REGEXP.test(path) || - path === `/${ApplicationRoutes.myOrcid}` || + path.indexOf(`/${ApplicationRoutes.myOrcid}`) !== -1 || path === `/${ApplicationRoutes.account}` || path === `/${ApplicationRoutes.trustedParties}` || path === `/${ApplicationRoutes.selfService}` ||