From 66eed055970529c78d98ea3833070d5f45acd139 Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 18 Feb 2022 16:57:25 +0200 Subject: [PATCH] apply changes related to eosc/aggregator --- connect/connectHelper.ts | 3 ++ sharedComponents/navigationBar.component.html | 11 ++++-- sharedComponents/navigationBar.component.ts | 34 ++++++++++--------- 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/connect/connectHelper.ts b/connect/connectHelper.ts index 7d9df3ff..18bde834 100644 --- a/connect/connectHelper.ts +++ b/connect/connectHelper.ts @@ -9,6 +9,9 @@ export class ConnectHelper { domain = "covid-19.openaire.eu"; //for testing } domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix + if (domain.indexOf('eosc-portal.eu') != -1) { + return "eosc"; + } if (domain.indexOf('openaire.eu') === -1) { return null; } diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html index 1f4d71e9..893bb754 100644 --- a/sharedComponents/navigationBar.component.html +++ b/sharedComponents/navigationBar.component.html @@ -176,18 +176,23 @@ alt="BETA" style="height: 102px; width: 102px">
-