table selection highlighting

This commit is contained in:
jonaswinkler committed 2020-12-13 15:28:20 +01:00
1 parent b5a85caa72
commit 2dc3019083
2 files changed
+6 -1

No files matched your search

@@ -119,7 +119,7 @@
<th class="d-none d-xl-table-cell">Added</th>
</thead>
<tbody>
<tr *ngFor="let d of list.documents">
<tr *ngFor="let d of list.documents" [ngClass]="list.isSelected(d) ? 'table-row-selected' : ''">
<td>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="docCheck{{d.id}}" [checked]="list.isSelected(d)" (change)="list.setSelected(d, $event.target.checked)">