Explore: Run queries when queries imported (#26704)

This commit is contained in:
Ivana Huckova
2020-08-05 10:22:36 +02:00
committed by GitHub
parent ec783fbff4
commit 744e108b04

View File

@@ -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));
}
};
}