Commit 874f2faf by Torkel Ödegaard Committed by GitHub

Expressions: Restore showing expression query editor even if main data source is not mixed (#29656)

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