mirror of
https://github.com/apache/superset.git
synced 2026-04-11 20:37:16 +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
@@ -187,7 +187,7 @@ function mapStateToProps(state) {
|
||||
const form_data = getFormDataFromControls(state.controls);
|
||||
return {
|
||||
chartStatus: state.chartStatus,
|
||||
datasource_type: state.datasource_type,
|
||||
datasource_type: state.datasource.type,
|
||||
controls: state.controls,
|
||||
form_data,
|
||||
standalone: state.standalone,
|
||||
|
||||
Reference in New Issue
Block a user