fix(explore): edit datasource does not update control states (#10284)

This commit is contained in:
Jesse Yang
2020-07-10 12:46:25 -07:00
committed by GitHub
parent 4e4ccd48d6
commit 4d179622fa
8 changed files with 86 additions and 15 deletions

View File

@@ -389,6 +389,7 @@ function mapStateToProps(state) {
const form_data = getFormDataFromControls(explore.controls);
const chartKey = Object.keys(charts)[0];
const chart = charts[chartKey];
return {
isDatasourceMetaLoading: explore.isDatasourceMetaLoading,
datasource: explore.datasource,