[new-search-json | CHANGED | DONE ] fix claims date, update check if claim is pending or available
This commit is contained in:
parent
25bae3caeb
commit
6a4ffbe875
|
@ -102,7 +102,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<span class="uk-text-meta">Claimed date:</span>
|
||||
<span class="uk-margin-xsmall-left">{{claim.date}}</span>
|
||||
<span class="uk-margin-xsmall-left">{{claim.date | date :'MMM d, y h:mm:ss a'}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -373,7 +373,9 @@ export class DisplayClaimsComponent implements OnInit, OnDestroy {
|
|||
if (claimDateStr < lastUpdateDateStr) {
|
||||
return true;
|
||||
} else {
|
||||
return claim.target.collectedFrom != "infrastruct_::openaire";
|
||||
//TODO uncomment when direct index API supports json
|
||||
// return claim.target.collectedFrom != "infrastruct_::openaire";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue