[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, [], [], {}));
|
this.bottomMenuItems.push(new MenuItem("", "Sources and methodology", "", "/content", false, [], [], {}));
|
||||||
}
|
}
|
||||||
if (this.user) {
|
if (this.user) {
|
||||||
this.userMenuItems = [ /*new MenuItem("","My profile","","",false,[],[],{}),*/
|
this.userMenuItems = [
|
||||||
new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [], {}),
|
|
||||||
new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}),
|
new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}),
|
||||||
new MenuItem("", "Invite users", "", "/invite", false, [], [], {}),
|
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) {
|
if (this.isManager) {
|
||||||
this.userMenuItems.push(new MenuItem("", "Support", "https://tools.openaire.eu/group/openaire_rcd", "", false, [], [], {}))
|
this.userMenuItems.push(new MenuItem("", "Support", "https://tools.openaire.eu/group/openaire_rcd", "", false, [], [], {}))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue