From 730dc5efe16b9aa875d5e3191ccaa1d4e0aebac1 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 25 Oct 2024 17:01:58 +0300 Subject: [PATCH] [angular-18]: Update library. Remove methods from monitor component. --- src/app/monitor/monitor.component.ts | 19 ------------------- src/app/openaireLibrary | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/app/monitor/monitor.component.ts b/src/app/monitor/monitor.component.ts index 24f87f1..ea5122b 100644 --- a/src/app/monitor/monitor.component.ts +++ b/src/app/monitor/monitor.component.ts @@ -131,25 +131,6 @@ export class MonitorComponent extends MonitorIndicatorStakeholderBaseComponent i })); })); } - - private getfl0() { - if (this.queryParams["relfundinglevel0_id"] && this.filters.length > 0) { - let value = StringUtils.URIDecode(StringUtils.unquote(this.queryParams["relfundinglevel0_id"])); - return value.split("::")[value.split("::").length - 1]; - } - return null; - } - - private getCoFunded() { - if (this.queryParams["co-funded"] && this.filters.length > 0) { - return this.queryParams["co-funded"] && StringUtils.URIDecode(StringUtils.unquote(this.queryParams["co-funded"])) == "co-funded-results"; - } - return false; - } - - public getFullUrl(indicatorPath: IndicatorPath) { - return this.indicatorUtils.getFullUrlWithFilters(this.stakeholder, indicatorPath, this.getfl0(), this.periodFilter.selectedFromValue, this.periodFilter.selectedToValue, this.getCoFunded()); - } public get feedback() { return "mailto:" + this.properties.feedbackmail + "?subject=%5BOpenAIRE%20Monitor%5D%20" + (this.stakeholder ? this.stakeholder.name : "") + "%20dashboard%20feedback" diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index a970571..8160c4c 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit a970571789549aa0b453bfa23949ddf4a254e26e +Subproject commit 8160c4c9b4aeac53ff4abb1bad021fa648098e5b