diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 83ce3cb..2e33f18 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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) {