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

This commit is contained in:
Torkel Ödegaard 2020-12-07 15:37:30 +01:00 committed by GitHub
parent 4e4211965e
commit 874f2fafb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {