[develop | DONE | FIXED ] Project/ Funder claim form: fix messages
This commit is contained in:
parent
27ffac59d9
commit
f26c9e8f48
|
@ -13,7 +13,7 @@
|
|||
searching for {{openaireEntities.PROJECTS.toLowerCase()}} to add them in the Basket
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf=" openaireResultsStatus != errorCodes.LOADING && this.funderOptions.length > 1 && !this.selectedFunder">
|
||||
<div *ngIf=" openaireResultsStatus != errorCodes.LOADING && this.funderOptions.length > 1 && !this.selectedFunder && openaireResultsNum <= 0 ">
|
||||
<div class="uk-text-center uk-text-large uk-text-meta uk-margin-large-top">Select funder or search for projects to proceed
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue