mirror of
https://github.com/apache/superset.git
synced 2026-04-13 13:18:25 +00:00
[#3137] Use state.datasource.type instead of state.datasource_type when rendering ControlPanelsContainer (#3138)
This commit is contained in:
committed by
Maxime Beauchemin
parent
7b015faae9
commit
7abe2d5eee
@@ -341,7 +341,7 @@ function mapStateToProps(state) {
|
||||
table_name: formData.datasource_name,
|
||||
viz_type: formData.viz_type,
|
||||
triggerRender: state.triggerRender,
|
||||
datasourceType: state.datasource_type,
|
||||
datasourceType: state.datasource.type,
|
||||
datasourceId: state.datasource_id,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user