diff --git a/src/panel/graph_panel/graph_ctrl.ts b/src/panel/graph_panel/graph_ctrl.ts index 65eed42..3a21404 100644 --- a/src/panel/graph_panel/graph_ctrl.ts +++ b/src/panel/graph_panel/graph_ctrl.ts @@ -315,7 +315,7 @@ class GraphCtrl extends MetricsPanelCtrl { this.processor = new DataProcessor(this.panel); await this._fetchHasticDatasources(); - const hasticDatasource = this.getHasticDatasource(); + const hasticDatasource = this.hasticDatasource; if(hasticDatasource === undefined) { delete this.analyticService; } else {