[Trunk | Explore]: app.component.ts: Add "My ORCID links" in user menu, in all environments (in production too).

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@60617 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2021-03-11 00:51:57 +00:00
parent f96bc7a006
commit 674f455bed
1 changed files with 1 additions and 3 deletions

View File

@ -66,9 +66,7 @@ export class AppComponent {
private router: Router, private userManagementService: UserManagementService,
private configurationService: ConfigurationService, private _meta: Meta) {
this.userMenuItems.push(new MenuItem("", "My profile", "", "", false, [], [], {}));
if(properties.environment != "production") {
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
}
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
this.userMenuItems.push(new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}));
this.subscriptions.push(router.events.forEach((event) => {