From 194778e63912ea5bfb6c93af97abf81c7f31d333 Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 14 Feb 2024 12:29:41 +0200 Subject: [PATCH] [develop | DONE | REMOVED] Remove my orcid links from user menu for beta --- src/app/app.component.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8e06f1b..9f01a3f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -443,11 +443,14 @@ export class AppComponent implements OnInit, OnDestroy { this.bottomMenuItems.push(new MenuItem("", "Sources and methodology", "", "/content", false, [], [], {})); } if (this.user) { - this.userMenuItems = [ /*new MenuItem("","My profile","","",false,[],[],{}),*/ - new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [], {}), + this.userMenuItems = [ new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}), new MenuItem("", "Invite users", "", "/invite", false, [], [], {}), ]; + if(properties.environment != 'beta'){ + this.userMenuItems = [new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [], {})] + .concat(this.userMenuItems) + } if (this.isManager) { this.userMenuItems.push(new MenuItem("", "Support", "https://tools.openaire.eu/group/openaire_rcd", "", false, [], [], {})) }