Commit c67b5577 by Torkel Ödegaard Committed by GitHub

Merge pull request #14123 from grafana/switch-back-from-mixed

fixed issue switching back from mixed data source
parents 0053bee8 1157a623
......@@ -76,7 +76,6 @@ export class MetricsTabCtrl {
return;
}
this.datasourceInstance = option.datasource;
this.setDatasource(option.datasource);
this.updateDatasourceOptions();
}
......@@ -96,6 +95,7 @@ export class MetricsTabCtrl {
});
}
this.datasourceInstance = datasource;
this.panel.datasource = datasource.value;
this.panel.refresh();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment