react-panel: Finish the data source search on query tab and start moving switch-data-source-logic from angular

This commit is contained in:
Johannes Schill
2018-11-19 14:35:16 +01:00
parent 57de2475b0
commit 00596f0afc
5 changed files with 83 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ export class MetricsTabCtrl {
this.datasources = datasourceSrv.getMetricSources();
this.panelDsValue = this.panelCtrl.panel.datasource;
// addded here as old query controller expects this on panelCtrl but
// added here as old query controller expects this on panelCtrl but
// they are getting MetricsTabCtrl instead
this.events = this.panel.events;