From f26c9e8f481a70d03f0392fe2a4fc9d9e9f40151 Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 19 Jun 2024 12:14:15 +0300 Subject: [PATCH] [develop | DONE | FIXED ] Project/ Funder claim form: fix messages --- claims/claim-utils/claimProjectSearchForm.component.html | 2 +- claims/claim-utils/claimProjectSearchForm.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/claims/claim-utils/claimProjectSearchForm.component.html b/claims/claim-utils/claimProjectSearchForm.component.html index cf4806ef..b16a54f8 100644 --- a/claims/claim-utils/claimProjectSearchForm.component.html +++ b/claims/claim-utils/claimProjectSearchForm.component.html @@ -13,7 +13,7 @@ searching for {{openaireEntities.PROJECTS.toLowerCase()}} to add them in the Basket -
+
Select funder or search for projects to proceed
diff --git a/claims/claim-utils/claimProjectSearchForm.component.ts b/claims/claim-utils/claimProjectSearchForm.component.ts index 0c550313..b92df231 100644 --- a/claims/claim-utils/claimProjectSearchForm.component.ts +++ b/claims/claim-utils/claimProjectSearchForm.component.ts @@ -36,7 +36,7 @@ export class ClaimProjectsSearchFormComponent { public projects:string[]; public warningMessage = ""; openaireResults:ClaimEntity[] = []; - openaireResultsNum: number ; + openaireResultsNum: number = -1; openaireResultsPage : number = 1; openaireResultsStatus:number = this.errorCodes.NONE; page : number = 1; @@ -91,6 +91,7 @@ export class ClaimProjectsSearchFormComponent { this.selectedFunder = value; this.isNoProjectFunder = this.selectedFunder && this.selectedFunder.number == 1; this.openaireResults = []; + this.openaireResultsNum = -1; if(this.isNoProjectFunder){ this.showResults = true; this.search(1,1);