Fixes bug on DMP Overview Listing Datasets
This commit is contained in:
parent
55407fd053
commit
d7a9815196
|
@ -61,8 +61,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngFor="let dataset of dmp.datasets" class="col-md-4">
|
<div *ngFor="let dataset of dmp.datasets; let i=index" class="col-md-4">
|
||||||
<div class="dataset-card" (click)="datasetClicked(dataset.id)">
|
<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="draft-bookmark">bookmark</mat-icon>
|
||||||
<mat-icon *ngIf="!isDraft(dataset)" class="finalized-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>
|
<h4 *ngIf="isDraft(dataset)"><span>{{ 'TYPES.DMP.DRAFT' | translate }}:</span> {{ dataset.label }}</h4>
|
||||||
|
|
Loading…
Reference in New Issue