Fixed selected class
This commit is contained in:
parent
11b82af88e
commit
2d2cd9fcda
@ -32,7 +32,9 @@
|
||||
cdkDropList cdkDropListSortingDisabled>
|
||||
<div (cdkDragEnded)="stopDragging()" (cdkDragStarted)="startDragging(column)"
|
||||
(click)="selectionColumn === column && listingService.select(entity)"
|
||||
*ngFor="let entity of (column.entities | async)" [cdkDragData]="entity" [ngClass]="getItemClasses(entity)" cdkDrag
|
||||
*ngFor="let entity of (column.entities | async)" [cdkDragData]="entity"
|
||||
[class.selected]="listingService.isSelected$(entity) | async"
|
||||
[ngClass]="getItemClasses(entity)" cdkDrag
|
||||
>
|
||||
<div *cdkDragPlaceholder [style.min-height]="itemHeight + 'px'"></div>
|
||||
<ng-container *ngTemplateOutlet="itemTemplate; context: { entity: entity, itemWidth: itemWidth }"></ng-container>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user