diff --git a/utils/indexInfo.service.ts b/utils/indexInfo.service.ts index 0835e04f..1570a7e2 100644 --- a/utils/indexInfo.service.ts +++ b/utils/indexInfo.service.ts @@ -25,6 +25,10 @@ export class IndexInfoService { let url = properties.indexInfoAPI; return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['orcid_update_date'])).pipe(catchError(err => {return of(null)})); } + getDBLoadLastDate(properties: EnvProperties): Observable { + let url = properties.indexInfoAPI; + return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['db_load_date'])).pipe(catchError(err => {return of(null)})); + } } diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html index cec5a36c..53415d44 100644 --- a/utils/result-preview/result-preview.component.html +++ b/utils/result-preview/result-preview.component.html @@ -23,7 +23,7 @@

+ [routerLink]="url" class="uk-link uk-text-decoration-none uk-width-expand" [class.uk-disabled]="result.id == '-1'">
{{result.acronym}} @@ -180,7 +180,7 @@
-
+