[develop | DONE | CHANGED] app.component.ts: Added check to add "My ORCID links" in the user menu only if environment is not beta.

This commit is contained in:
Konstantina Galouni 2024-02-29 17:57:39 +02:00
parent 13034ee368
commit 7ee9905433
4 changed files with 6 additions and 4 deletions

View File

@ -102,7 +102,9 @@ export class AppComponent {
this.userMenuItems = [];
if (this.user) {
this.userMenuItems.push(new MenuItem("", "My links", "", "/myclaims", 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("", "User information", "", "/user-info", false, [], [], {}));
}
}));

@ -1 +1 @@
Subproject commit 5195306ee6dfd664b207c3536234f43adc39ad33
Subproject commit 3e8ed4f50429dad8a3426512709ae5b586b7ef02

@ -1 +1 @@
Subproject commit 6cef9ebed0db7ecbcca023bae824239106907960
Subproject commit 651102a5ba049b71bed8eb6a85a8d02cefcb24cc

@ -1 +1 @@
Subproject commit 419d7e200b60639ebcb9660c0e77b06a02504caa
Subproject commit 37639eab68c63a506b7df10c42e3379c4a05d94d