[develop | DONE | CHANGED]: app.component.ts: Added check, not to add "My ORCID Links" user menu item in beta environment.
This commit is contained in:
parent
85320e8653
commit
c51b2b58f4
|
@ -193,7 +193,9 @@ export class AppComponent implements AfterViewInit {
|
|||
buildMenu() {
|
||||
this.userMenuItems = [];
|
||||
this.userMenuItems.push(new MenuItem("", "My profile", "", "", false, [], [], {}));
|
||||
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
|
||||
if(this.properties.environment != "beta") {
|
||||
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
|
||||
}
|
||||
this.userMenuItems.push(new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}));
|
||||
let researchOutcomesMenu = new MenuItem("", OpenaireEntities.RESULTS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {});
|
||||
researchOutcomesMenu.items = [
|
||||
|
|
Loading…
Reference in New Issue