[Library|Trunk]
Claims: Search: remove class from filters to look like the search filters Display claims list: add "no title available" when it is not Direct index: don't make the direct index API call in development git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58246 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
b28f08e4b8
commit
7021de1932
|
@ -62,7 +62,7 @@
|
|||
|
||||
<ul class="uk-list">
|
||||
<li class="uk-open">
|
||||
<h5 class="uk-margin-bottom-remove searchFilterTitle">Years range
|
||||
<h5 class="uk-margin-bottom-remove ">Years range
|
||||
</h5>
|
||||
<div aria-expanded="false">
|
||||
<div class="searchFilterBoxValues ">
|
||||
|
|
|
@ -106,8 +106,8 @@
|
|||
</div>-->
|
||||
<!-- Type filter-->
|
||||
<ul class="uk-list">
|
||||
<li class="uk-open">
|
||||
<h5 class="uk-margin-bottom-remove searchFilterTitle">Entity Type (4)
|
||||
<li class="uk-open uk-margin-small-bottom">
|
||||
<h5 class="uk-margin-bottom-remove ">Entity Type (4)
|
||||
</h5>
|
||||
<div aria-expanded="false">
|
||||
<div class="searchFilterBoxValues ">
|
||||
|
@ -125,7 +125,7 @@
|
|||
</div>
|
||||
</li>
|
||||
<li class="uk-open">
|
||||
<h5 class="uk-margin-bottom-remove searchFilterTitle">Published in
|
||||
<h5 class="uk-margin-bottom-remove">Published in
|
||||
</h5>
|
||||
<div aria-expanded="false">
|
||||
<div class="searchFilterBoxValues ">
|
||||
|
|
|
@ -9,7 +9,7 @@ import {RouterHelper} from '../../../utils/routerHelper.class';
|
|||
<span *ngIf="!externalPortalUrl" class="publication-title">
|
||||
|
||||
<span *ngIf="entity.openaireId"><a [queryParams]="routerHelper.createQueryParam(param,entity.openaireId)" routerLinkActive="router-link-active"
|
||||
[routerLink]="path"> {{entity.title}}</a></span>
|
||||
[routerLink]="path"> {{entity.title?entity.title:"[No title available]"}}</a></span>
|
||||
<!--span *ngIf="url" class="uk-margin-small-left" ><a target="_blank" href="{{url}}" >
|
||||
(<span class="custom-external custom-icon" ></span>link)</a></span-->
|
||||
</span>
|
||||
|
|
|
@ -175,9 +175,9 @@ export class ClaimInsertComponent {
|
|||
}
|
||||
|
||||
//first call direct index service - when call is done (success or error) call isertBulkClaims method to insert claims in DB
|
||||
console.log("directclaims");
|
||||
console.log(directclaims);
|
||||
if (directclaims.length > 0) {
|
||||
// console.log("directclaims");
|
||||
// console.log(directclaims);
|
||||
if (directclaims.length > 0 && this.properties.environment != "development"){
|
||||
this.claimService.insertDirectRecords(directclaims, this.properties.claimsAPIURL).subscribe(
|
||||
data => {
|
||||
this.insertedRecords = data.insertedIds;
|
||||
|
|
Loading…
Reference in New Issue