From 055434ab363f66d9c7dec0604372b2fa8ac03572 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 20 Apr 2023 20:48:12 +0300 Subject: [PATCH] [Library | develop & Eosc Explore | develop]: resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: [Bug fix] In method "eoscBackLink()" added a dot (.) after beta | environment.beta.ts: Added "eoscDataTransferAPI" and "eoscDataTransferDestinations" properties. --- landingPages/dataProvider/dataProvider.component.ts | 2 +- landingPages/organization/organization.component.ts | 2 +- landingPages/project/project.component.ts | 2 +- landingPages/result/resultLanding.component.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/landingPages/dataProvider/dataProvider.component.ts b/landingPages/dataProvider/dataProvider.component.ts index 7cfaea24..669f1148 100644 --- a/landingPages/dataProvider/dataProvider.component.ts +++ b/landingPages/dataProvider/dataProvider.component.ts @@ -854,7 +854,7 @@ export class DataProviderComponent { if(this.prevPath && this.referrer && ((this.referrer == "https://eosc-search-service.grid.cyfronet.pl/") || (this.referrer == "https://beta.search.marketplace.eosc-portal.eu/") || (this.referrer == "https://search.marketplace.eosc-portal.eu/"))) { return this.referrer+atob(this.prevPath); } else { - return "https://"+(this.properties.environment == "beta" ? "beta" : "")+"search.marketplace.eosc-portal.eu/"; + return "https://"+(this.properties.environment == "beta" ? "beta." : "")+"search.marketplace.eosc-portal.eu/"; } } } diff --git a/landingPages/organization/organization.component.ts b/landingPages/organization/organization.component.ts index 8e6410b1..dcd8fbbe 100644 --- a/landingPages/organization/organization.component.ts +++ b/landingPages/organization/organization.component.ts @@ -820,7 +820,7 @@ export class OrganizationComponent { if(this.prevPath && this.referrer && ((this.referrer == "https://eosc-search-service.grid.cyfronet.pl/") || (this.referrer == "https://beta.search.marketplace.eosc-portal.eu/") || (this.referrer == "https://search.marketplace.eosc-portal.eu/"))) { return this.referrer+atob(this.prevPath); } else { - return "https://"+(this.properties.environment == "beta" ? "beta" : "")+"search.marketplace.eosc-portal.eu/"; + return "https://"+(this.properties.environment == "beta" ? "beta." : "")+"search.marketplace.eosc-portal.eu/"; } } } diff --git a/landingPages/project/project.component.ts b/landingPages/project/project.component.ts index bdb839bf..d29ca366 100644 --- a/landingPages/project/project.component.ts +++ b/landingPages/project/project.component.ts @@ -988,7 +988,7 @@ export class ProjectComponent { if(this.prevPath && this.referrer && ((this.referrer == "https://eosc-search-service.grid.cyfronet.pl/") || (this.referrer == "https://beta.search.marketplace.eosc-portal.eu/") || (this.referrer == "https://search.marketplace.eosc-portal.eu/"))) { return this.referrer+atob(this.prevPath); } else { - return "https://"+(this.properties.environment == "beta" ? "beta" : "")+"search.marketplace.eosc-portal.eu/"; + return "https://"+(this.properties.environment == "beta" ? "beta." : "")+"search.marketplace.eosc-portal.eu/"; } } } diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index b50ff055..46eb1a61 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -935,7 +935,7 @@ export class ResultLandingComponent { if(this.prevPath && this.referrer && ((this.referrer == "https://eosc-search-service.grid.cyfronet.pl/") || (this.referrer == "https://beta.search.marketplace.eosc-portal.eu/") || (this.referrer == "https://search.marketplace.eosc-portal.eu/"))) { return this.referrer+atob(this.prevPath); } else { - return "https://"+(this.properties.environment == "beta" ? "beta" : "")+"search.marketplace.eosc-portal.eu/"; + return "https://"+(this.properties.environment == "beta" ? "beta." : "")+"search.marketplace.eosc-portal.eu/"; } }