UI: Added trackBy in table widget
This commit is contained in:
parent
2cf6de81c0
commit
d284d7ce5c
@ -366,8 +366,8 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI
|
|||||||
return header.index;
|
return header.index;
|
||||||
}
|
}
|
||||||
|
|
||||||
public trackByRowTimestamp(index: number, row: TimeseriesRow) {
|
public trackByRowTimestamp(index: number) {
|
||||||
return row[0];
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
public trackByActionCellDescriptionId(index: number, action: WidgetActionDescriptor) {
|
public trackByActionCellDescriptionId(index: number, action: WidgetActionDescriptor) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user