Fixes bug, cant remove finalized dataset
This commit is contained in:
parent
7300e2fe85
commit
e4bef006d3
|
@ -84,7 +84,7 @@
|
|||
<li *ngFor="let dataset of datasets.controls; let i = index" (click)="changeStep(i + stepsBeforeDatasets, dataset)" [ngClass]="{'active-dataset': this.step === i + stepsBeforeDatasets}">
|
||||
<div class="d-flex flex-direction-row">
|
||||
<div class="label">{{'DMP-EDITOR.STEPPER.DATASET' | translate}}</div>
|
||||
<mat-icon class="ml-auto remove-dataset" matTooltip="{{'DMP-EDITOR.ACTIONS.DELETE' | translate}}" (click)="$event.stopPropagation(); removeDataset(dataset.get('id').value, i)">remove_circle_outline</mat-icon>
|
||||
<mat-icon *ngIf="dataset.get('status').value !== 1" class="ml-auto remove-dataset" matTooltip="{{'DMP-EDITOR.ACTIONS.DELETE' | translate}}" (click)="$event.stopPropagation(); removeDataset(dataset.get('id').value, i)">remove_circle_outline</mat-icon>
|
||||
</div>
|
||||
<span *ngIf="dataset.get('status').value === 1" class="finalized-label">
|
||||
<mat-icon class="status-icon check-icon">check</mat-icon>{{'TYPES.DATASET-STATUS.FINALISED' | translate}}
|
||||
|
|
|
@ -355,6 +355,11 @@ a:hover {
|
|||
cursor: auto !important;
|
||||
}
|
||||
|
||||
.add-dataset-btn:hover {
|
||||
color: #129d99 !important;
|
||||
border: 1px solid #129d99;
|
||||
}
|
||||
|
||||
.dataset-list {
|
||||
list-style-type: none;
|
||||
padding-left: 0px;
|
||||
|
|
Loading…
Reference in New Issue