mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Variables: Fix so data source variables are added to adhoc configuration (#43881)
This commit is contained in:
parent
0fd8f5de44
commit
7f8f9eb814
@ -110,7 +110,7 @@ export const changeVariableDatasource = (datasource?: DataSourceRef): ThunkResul
|
||||
};
|
||||
|
||||
export const initAdHocVariableEditor = (): ThunkResult<void> => (dispatch) => {
|
||||
const dataSources = getDatasourceSrv().getList({ metrics: true, variables: false });
|
||||
const dataSources = getDatasourceSrv().getList({ metrics: true, variables: true });
|
||||
const selectable = dataSources.reduce(
|
||||
(all: Array<{ text: string; value: DataSourceRef | null }>, ds) => {
|
||||
if (ds.meta.mixed) {
|
||||
|
Loading…
Reference in New Issue
Block a user