diff --git a/portal-2/src/app/claimPages/claim-utils/claimPublication.component.html b/portal-2/src/app/claimPages/claim-utils/claimPublication.component.html
index 64fe33f4..9be05844 100644
--- a/portal-2/src/app/claimPages/claim-utils/claimPublication.component.html
+++ b/portal-2/src/app/claimPages/claim-utils/claimPublication.component.html
@@ -18,11 +18,15 @@
No results found
diff --git a/portal-2/src/app/claimPages/claim-utils/claimPublication.component.ts b/portal-2/src/app/claimPages/claim-utils/claimPublication.component.ts
index 1484167f..7fffefa7 100644
--- a/portal-2/src/app/claimPages/claim-utils/claimPublication.component.ts
+++ b/portal-2/src/app/claimPages/claim-utils/claimPublication.component.ts
@@ -106,9 +106,9 @@ private getCrossrefResults (term: string, size : number, page : number) {
this.crossrefResultsNum = data['total-results'];
this.crossrefStatus = this.errorCodes.DONE;
+ }else{
+ this.crossrefStatus = this.errorCodes.ERROR;
}
- this.crossrefStatus = this.errorCodes.ERROR;
-
},
err =>{
console.error(err.status);
@@ -116,6 +116,8 @@ private getCrossrefResults (term: string, size : number, page : number) {
}
);
+ }else{
+ this.crossrefStatus = this.errorCodes.DONE;
}
}
},
@@ -149,8 +151,9 @@ private getCrossrefResults (term: string, size : number, page : number) {
this.crossrefResultsNum = data['total-results'];
this.crossrefStatus = this.errorCodes.DONE;
+ }else{
+ this.crossrefStatus = this.errorCodes.ERROR;
}
- this.crossrefStatus = this.errorCodes.ERROR;
},
err => {