Browse Source

Merge branch 'master' of github.com:thingsboard/thingsboard

pull/3104/head
Andrii Shvaika 6 years ago
parent
commit
436aedef4d
  1. 3
      ui-ngx/src/app/modules/home/components/entity/entities-table.component.html

3
ui-ngx/src/app/modules/home/components/entity/entities-table.component.html

@ -220,7 +220,8 @@
</mat-cell>
</ng-container>
<mat-header-row [ngClass]="{'mat-row-select': selectionEnabled}" *matHeaderRowDef="displayedColumns; sticky: true"></mat-header-row>
<mat-row [ngClass]="{'mat-row-select': selectionEnabled,
<mat-row [fxShow]="!dataSource.dataLoading"
[ngClass]="{'mat-row-select': selectionEnabled,
'mat-selected': dataSource.selection.isSelected(entity),
'tb-current-entity': dataSource.isCurrentEntity(entity)}"
*matRowDef="let entity; columns: displayedColumns;" (click)="onRowClick($event, entity)"></mat-row>

Loading…
Cancel
Save