...
|
...
|
@@ -129,7 +129,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI |
129
|
129
|
private defaultSortOrder = '-0';
|
130
|
130
|
private hideEmptyLines = false;
|
131
|
131
|
public showTimestamp = true;
|
132
|
|
- public useDeviceLabel = false;
|
|
132
|
+ private useDeviceLabel = false;
|
133
|
133
|
private dateFormatFilter: string;
|
134
|
134
|
|
135
|
135
|
private rowStylesInfo: RowStyleInfo;
|
...
|
...
|
@@ -234,9 +234,9 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI |
234
|
234
|
this.updateDatasources();
|
235
|
235
|
}
|
236
|
236
|
|
237
|
|
- public getTabLabel(source, useDeviceLabel){
|
238
|
|
- if(useDeviceLabel){
|
239
|
|
- return source.datasource.entityLabel ? source.datasource.entityLabel : source.datasource.entityName;
|
|
237
|
+ public getTabLabel(source){
|
|
238
|
+ if(this.useDeviceLabel){
|
|
239
|
+ return source.datasource.entityLabel || source.datasource.entityName;
|
240
|
240
|
} else {
|
241
|
241
|
return source.datasource.entityName;
|
242
|
242
|
}
|
...
|
...
|
|