mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
MixedDatasources: Do not filter out all mixed data sources in add mixed query dropdown (#20990)
This commit is contained in:
parent
7d6bd78e0b
commit
72ee1b9a94
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user