From ca8b9b3deb567e69ae2c2fce8a8a3283d686dbac Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 4 Aug 2022 16:35:55 +0300 Subject: [PATCH] [Connect | new-theme]: environment.beta.ts: [Bug fix] Added a / in the end of adminToolsAPIURL | subjects.component.ts: [Bug fix] Added checks when there is only 1 subject. --- src/app/subjects/subjects.component.ts | 6 ++++-- src/environments/environment.beta.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/subjects/subjects.component.ts b/src/app/subjects/subjects.component.ts index eebbe7a..421d22e 100644 --- a/src/app/subjects/subjects.component.ts +++ b/src/app/subjects/subjects.component.ts @@ -47,7 +47,8 @@ import {Subscriber, Subscription} from "rxjs"; -
+
+
{{item.group}}
@@ -67,7 +68,8 @@ import {Subscriber, Subscription} from "rxjs";
-
+
+
{{groupedSubjects[index].group}}
diff --git a/src/environments/environment.beta.ts b/src/environments/environment.beta.ts index b61d152..da47803 100644 --- a/src/environments/environment.beta.ts +++ b/src/environments/environment.beta.ts @@ -59,7 +59,7 @@ export let properties: EnvProperties = { cookieDomain: ".openaire.eu", feedbackmail: "feedback@openaire.eu", cacheUrl: "https://demo.openaire.eu/cache/get?url=", - adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-admin-tools", + adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-admin-tools/", adminToolsCommunity: "connect", datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/", contextsAPI: "https://beta.services.openaire.eu/openaire/context",