[Connect | Trunk]: Change admin URL on connect

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60506 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-02-25 14:20:17 +00:00
parent 81050396fe
commit a066e76bec
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ export class AppComponent {
if (this.isManager) {
this.menuItems.push(
{
rootItem: new MenuItem("manage", "Manage", this.properties.adminPortalURL +'/dashboard?communityId=' + community.communityId, "", false, [], [], {}),
rootItem: new MenuItem("manage", "Manage", this.properties.adminPortalURL + '/' + community.communityId, "", false, [], [], {}),
items: []
});
}
@ -289,7 +289,7 @@ export class AppComponent {
this.userMenuItems = [];
if (Session.isPortalAdministrator(this.user)) {
this.userMenuItems.push(new MenuItem("", "Manage Helptexts",
((this.properties.environment == "production") ? "https://admin.explore.openaire.eu" : "https://beta.admin.connect.openaire.eu") + "/dashboard?communityId=connect",
properties.adminPortalURL + "/" + communityId + '/pages',
"", false, [], [], {}))
}
if (this.user) {