From c51b2b58f4af06f06b684c37532e38075daa4835 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 13 Feb 2024 17:34:29 +0200 Subject: [PATCH] [develop | DONE | CHANGED]: app.component.ts: Added check, not to add "My ORCID Links" user menu item in beta environment. --- explore/src/app/app.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index ff1ddfd6..1bfb88cf 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -193,7 +193,9 @@ export class AppComponent implements AfterViewInit { buildMenu() { this.userMenuItems = []; this.userMenuItems.push(new MenuItem("", "My profile", "", "", false, [], [], {})); - this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {})); + if(this.properties.environment != "beta") { + this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {})); + } this.userMenuItems.push(new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {})); let researchOutcomesMenu = new MenuItem("", OpenaireEntities.RESULTS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {}); researchOutcomesMenu.items = [