Commit 72ee1b9a by Torkel Ödegaard Committed by GitHub

MixedDatasources: Do not filter out all mixed data sources in add mixed query dropdown (#20990)

parent 7d6bd78e
......@@ -188,9 +188,13 @@ export class QueriesTab extends PureComponent<Props, State> {
};
renderMixedPicker = () => {
// We cannot filter on mixed flag as some mixed data sources like external plugin
// meta queries data source is mixed but also supports it's own queries
const filteredDsList = this.datasources.filter(ds => ds.meta.id !== 'mixed');
return (
<DataSourcePicker
datasources={this.datasources.filter(ds => !ds.meta.mixed)}
datasources={filteredDsList}
onChange={this.onAddMixedQuery}
current={null}
autoFocus={true}
......
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