(cherry picked from commit 7f8f9eb814)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
co-authored by
Hugo Häggmark
parent
63064facdb
commit
6fe27c5274
@@ -111,7 +111,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) {
|
||||
|
||||
Reference in New Issue
Block a user