Browse Source
Merge pull request #3792 from vvlladd28/improvement/table/trackBy-1
UI: Added trackBy in table widget
pull/3797/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts
|
|
|
@ -366,8 +366,8 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI |
|
|
|
return header.index; |
|
|
|
} |
|
|
|
|
|
|
|
public trackByRowTimestamp(index: number, row: TimeseriesRow) { |
|
|
|
return row[0]; |
|
|
|
public trackByRowTimestamp(index: number) { |
|
|
|
return index; |
|
|
|
} |
|
|
|
|
|
|
|
public trackByActionCellDescriptionId(index: number, action: WidgetActionDescriptor) { |
|
|
|
|