From 955c96ffd893c795edbad59434df386b7f105559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 10 Dec 2020 09:26:28 +0100 Subject: [PATCH] GrafanaDataSource: Fix selecting -- Grafana -- data source, broken after recent changes (#29737) --- public/app/features/query/components/QueryEditorRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/query/components/QueryEditorRow.tsx b/public/app/features/query/components/QueryEditorRow.tsx index e0722709db3..e3b4008c470 100644 --- a/public/app/features/query/components/QueryEditorRow.tsx +++ b/public/app/features/query/components/QueryEditorRow.tsx @@ -90,7 +90,7 @@ export class QueryEditorRow extends PureComponent { getQueryDataSourceIdentifier(): string | null | undefined { const { query, dsSettings } = this.props; - return query.datasource ?? dsSettings.uid; + return query.datasource ?? dsSettings.name; } async loadDatasource() {