Commit 955c96ff by Torkel Ödegaard Committed by GitHub

GrafanaDataSource: Fix selecting -- Grafana -- data source, broken after recent changes (#29737)

parent ac3bf352
......@@ -90,7 +90,7 @@ export class QueryEditorRow extends PureComponent<Props, State> {
getQueryDataSourceIdentifier(): string | null | undefined {
const { query, dsSettings } = this.props;
return query.datasource ?? dsSettings.uid;
return query.datasource ?? dsSettings.name;
}
async loadDatasource() {
......
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