[ADF-3670] Checklist - fix failing unit test (#3873)

* fix unit test on checklist

* Fix relative path import
This commit is contained in:
Maurizio Vitale
2018-10-09 12:26:04 +01:00
committed by Eugenio Romano
parent 94df1f6fdd
commit 29f28c7c82
3 changed files with 19 additions and 18 deletions

View File

@@ -14,8 +14,8 @@
<mat-chip-list class="mat-chip-list-stacked">
<mat-chip id="check-{{check.id}}" class="adf-checklist-chip" *ngFor="let check of checklist">
<span>{{check.name}}</span>
<button *ngIf="!readOnly && !check.endDate" mat-icon-button type="button" class="adf-checklist-cancel-button" (click)="delete(check.id)">
<mat-icon id="remove-{{check.id}}" matChipRemove>cancel</mat-icon>
<button *ngIf="!readOnly && !check.endDate" id="remove-{{check.id}}" mat-icon-button type="button" class="adf-checklist-cancel-button" (click)="delete(check.id)">
<mat-icon matChipRemove>cancel</mat-icon>
</button>
</mat-chip>
</mat-chip-list>