From dc242a0a3e1e663548e10cf3355233e8e5349275 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 25 May 2022 12:44:13 +0300 Subject: [PATCH 1/3] Fix quickselections view in medium screens --- searchPages/searchUtils/quick-selections.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchPages/searchUtils/quick-selections.component.ts b/searchPages/searchUtils/quick-selections.component.ts index ef1ed181..dbe91093 100644 --- a/searchPages/searchUtils/quick-selections.component.ts +++ b/searchPages/searchUtils/quick-selections.component.ts @@ -16,7 +16,7 @@ import {OpenaireEntities} from "../../utils/properties/searchFields"; {{quickFilter.value}} -
+
Include:
From 0e8c5832bb886f6fbedfe2dcb9065849f20a9a5f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 25 May 2022 12:52:00 +0300 Subject: [PATCH 2/3] [Aggregator & Library| new-theme]: Use common component in transferData.component.ts instead of uk-modal. 1. transferData.module.ts: Imported AlertModalModule. 2. transferData.component.ts: Use common component instead of uk-modal | Comment logs. 3 alert.ts: a. Added "@Input() public emitHidden: boolean = false;" and " @Output() public alertHidden: EventEmitter = new EventEmitter();" b. On ngAfterViewInit, if emitHidden is true, check when modal is hidden and emit alertHidden (currently used only in transferData.component.ts to reinitialize local fields and route). --- utils/dataTransfer/transferData.component.ts | 147 +++++++++---------- utils/dataTransfer/transferData.module.ts | 3 +- utils/modal/alert.ts | 19 +++ 3 files changed, 92 insertions(+), 77 deletions(-) diff --git a/utils/dataTransfer/transferData.component.ts b/utils/dataTransfer/transferData.component.ts index d2fca269..daed9c23 100644 --- a/utils/dataTransfer/transferData.component.ts +++ b/utils/dataTransfer/transferData.component.ts @@ -1,4 +1,4 @@ -import {Component, Input} from '@angular/core'; +import {Component, Input, ViewChild} from '@angular/core'; import {Subscriber} from "rxjs"; import {HttpClient, HttpHeaders} from "@angular/common/http"; import {AbstractControl, ValidatorFn, Validators} from "@angular/forms"; @@ -23,83 +23,70 @@ declare var UIkit; -