From 609ac91e720af64fdeb983d717d2e6a04773bb4e Mon Sep 17 00:00:00 2001 From: Kalutka Zhenya Date: Wed, 28 Apr 2021 11:33:58 +0300 Subject: [PATCH] Refactoring --- .../components/widget/lib/timeseries-table-widget.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts index 3654c1f708..ffbfbb94c0 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts @@ -234,7 +234,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI this.updateDatasources(); } - public getTabLabel(source){ + public getTabLabel(source: TimeseriesTableSource){ if(this.useDeviceLabel){ return source.datasource.entityLabel || source.datasource.entityName; } else {