[master | DONE | CHANGED] User menu: remove my orcid links for beta

This commit is contained in:
argirok 2024-02-14 16:57:53 +02:00
parent cfcbae5ce1
commit 4fcd35fccd
1 changed files with 3 additions and 1 deletions

View File

@ -238,8 +238,10 @@ export class AppComponent extends ResearcherBaseComponent implements OnInit, Aft
} }
staticUserItems() { staticUserItems() {
if(this.properties.environment != "beta"){
this.userMenuItems.push(new MenuItem("myorcidlinks", "My Orcid links", "", "/my-orcid-links", false, [], null, {}, null, null, null, null));
}
this.userMenuItems.push( this.userMenuItems.push(
new MenuItem("myorcidlinks", "My Orcid links", "", "/my-orcid-links", false, [], null, {}, null, null, null, null),
new MenuItem("myclaims", "My links", "", "/participate/myclaims", false, [], null, {}, null, null, null, null), new MenuItem("myclaims", "My links", "", "/participate/myclaims", false, [], null, {}, null, null, null, null),
new MenuItem("claims", "Link", "", "/participate/claim", false, [], null, {}, null, null, null, null), new MenuItem("claims", "Link", "", "/participate/claim", false, [], null, {}, null, null, null, null),
new MenuItem("upload-dois", "Upload DOIs", "", "/upload-dois", false, [], null, {}, null, null, null, null) new MenuItem("upload-dois", "Upload DOIs", "", "/upload-dois", false, [], null, {}, null, null, null, null)