mirror of https://github.com/apache/superset.git
fix(explore): 'Edit Datasource' is missing from btn-dropdown (#10283)
Not sure how it got broken but he's a fix. I'm thinking this is related to the controls refactor. closes https://github.com/apache/incubator-superset/issues/10247
This commit is contained in:
parent
af864e9fff
commit
7d4d2e7469
|
@ -20,6 +20,7 @@ import memoizeOne from 'memoize-one';
|
|||
import { getChartControlPanelRegistry } from '@superset-ui/chart';
|
||||
import { expandControlConfig } from '@superset-ui/chart-controls';
|
||||
import { controls as SHARED_CONTROLS } from './controls';
|
||||
import * as exploreActions from './actions/exploreActions';
|
||||
import * as SECTIONS from './controlPanels/sections';
|
||||
|
||||
export function getFormDataFromControls(controlsState) {
|
||||
|
@ -93,7 +94,7 @@ export function applyMapStateToPropsToControl(controlState, controlPanelState) {
|
|||
if (mapStateToProps && controlPanelState) {
|
||||
return {
|
||||
...controlState,
|
||||
...mapStateToProps(controlPanelState, controlState),
|
||||
...mapStateToProps(controlPanelState, controlState, exploreActions),
|
||||
};
|
||||
}
|
||||
return controlState;
|
||||
|
|
Loading…
Reference in New Issue