[develop | DONE | REMOVED] Remove my orcid links from user menu for beta
This commit is contained in:
parent
7805be2e0b
commit
194778e639
|
@ -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, [], [], {}))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue