diff --git a/public/app/features/query/components/QueryEditorRow.tsx b/public/app/features/query/components/QueryEditorRow.tsx index e0af8a410c5..e0722709db3 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 dsSettings.meta.mixed ? query.datasource : dsSettings.uid; + return query.datasource ?? dsSettings.uid; } async loadDatasource() {