Showing
1 changed file
with
1 additions
and
1 deletions
@@ -234,7 +234,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI | @@ -234,7 +234,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI | ||
234 | this.updateDatasources(); | 234 | this.updateDatasources(); |
235 | } | 235 | } |
236 | 236 | ||
237 | - public getTabLabel(source){ | 237 | + public getTabLabel(source: TimeseriesTableSource){ |
238 | if(this.useDeviceLabel){ | 238 | if(this.useDeviceLabel){ |
239 | return source.datasource.entityLabel || source.datasource.entityName; | 239 | return source.datasource.entityLabel || source.datasource.entityName; |
240 | } else { | 240 | } else { |