From a5dde08d0e1975cf08efc4b59039228b0f2fa054 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Mon, 7 Dec 2020 10:23:13 +0000 Subject: [PATCH] [Connect|Trunk] - update admin portal url property - use property instead of harcoded url - use property for admin portal url git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60041 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.ts | 2 +- src/environments/environment.prod.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 27cdb0b..600146c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -243,7 +243,7 @@ export class AppComponent { if (isCommunityManager) { this.menuItems.push( { - rootItem: new MenuItem("manage", "Manage", 'https://beta.admin.connect.openaire.eu/dashboard?communityId=' + community.communityId, "", false, [], [], {}), + rootItem: new MenuItem("manage", "Manage", this.properties.adminPortalURL +'/dashboard?communityId=' + community.communityId, "", false, [], [], {}), items: [] }); } diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 5b61f72..98efb70 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -127,5 +127,5 @@ export let properties: EnvProperties = { indexInfoAPI: "https://beta.services.openaire.eu/openaire/info/", altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", b2noteAPIURL: "http://b2note-dev.bsc.es/", - adminPortalURL: "https://beta.admin.connect.openaire.eu" + adminPortalURL: "https://admin.connect.openaire.eu" };