From 3ee89e2bcae313a1ac82cfb678c4476ec1e9905f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Fri, 26 May 2023 14:37:34 +0300 Subject: [PATCH] [Library | develop]: ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local | sdg.component.ts: Set customFilter and pass it as parameter to . --- utils/staticAutoComplete/ISVocabularies.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/staticAutoComplete/ISVocabularies.service.ts b/utils/staticAutoComplete/ISVocabularies.service.ts index e635b8ec..8a1b5457 100644 --- a/utils/staticAutoComplete/ISVocabularies.service.ts +++ b/utils/staticAutoComplete/ISVocabularies.service.ts @@ -122,12 +122,12 @@ export class ISVocabulariesService { getFos(properties: EnvProperties): Observable { let url = "/assets/common-assets/vocabulary/fos.json"; - return this.http.get((properties.useLongCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url) + return this.http.get(url); } getSDGs(properties: EnvProperties): Observable { let url = "/assets/common-assets/vocabulary/sdg.json"; - return this.http.get((properties.useLongCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url) + return this.http.get(url); } parseSDGs(data: any): AutoCompleteValue[] {