From 53d8440171551c8c043b8b5a9d390b52d67fbf7a Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Fri, 12 May 2023 14:00:34 +0300 Subject: [PATCH] fix bug in landing: when navigating from result to result, if they all have "Related Research" tab and selection input, options of the selection are not re-initialized --- landingPages/result/resultLanding.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index ef4e1e8a..4c3f1c9b 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -548,7 +548,7 @@ export class ResultLandingComponent { this.enermapsId = ParsingFunctions.getEnermapsConceptId(this.resultLandingInfo.contexts); } - + this.relatedClassFilters = [{"label": "All relations", "value": ""}]; if(this.resultLandingInfo.relatedClassFilters.size > 1) { for (let relClass of this.resultLandingInfo.relatedClassFilters) { this.relatedClassFilters.push({"label": HelperFunctions.getVocabularyLabel(relClass, this.relationsVocabulary), "value": relClass});