Fixes bug on DMP Overview Listing Datasets

This commit is contained in:
apapachristou 2019-06-21 16:45:06 +03:00
parent 55407fd053
commit d7a9815196
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@
</div>
</div>
<div class="row">
<div *ngFor="let dataset of dmp.datasets" class="col-md-4">
<div class="dataset-card" (click)="datasetClicked(dataset.id)">
<div *ngFor="let dataset of dmp.datasets; let i=index" class="col-md-4">
<div *ngIf="i < 9" class="dataset-card" (click)="datasetClicked(dataset.id)">
<mat-icon *ngIf="isDraft(dataset)" class="draft-bookmark">bookmark</mat-icon>
<mat-icon *ngIf="!isDraft(dataset)" class="finalized-bookmark">bookmark</mat-icon>
<h4 *ngIf="isDraft(dataset)"><span>{{ 'TYPES.DMP.DRAFT' | translate }}:</span> {{ dataset.label }}</h4>