Explore: Run queries when queries imported (#26704)
(cherry picked from commit 744e108b04)
This commit is contained in:
committed by
Hugo Häggmark
parent
de815d4746
commit
3e4c0bf8f8
@@ -156,6 +156,11 @@ export function changeDatasource(
|
||||
}
|
||||
|
||||
await dispatch(loadDatasource(exploreId, newDataSourceInstance, orgId));
|
||||
|
||||
// Exception - we only want to run queries on data source change, if the queries were imported
|
||||
if (options?.importQueries) {
|
||||
dispatch(runQueries(exploreId));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user