ktmud commented on a change in pull request #13758:
URL: https://github.com/apache/superset/pull/13758#discussion_r604232492
##########
File path: superset-frontend/src/explore/components/ControlPanelsContainer.tsx
##########
@@ -128,17 +128,23 @@ export class ControlPanelsContainer extends
React.Component<ControlPanelsContain
}
renderControl({ name, config }: CustomControlItem) {
- const { actions, controls } = this.props;
+ const { actions, controls, chart, exploreState } = this.props;
const { visibility } = config;
// If the control item is not an object, we have to look up the control
data from
// the centralized controls file.
// When it is an object we read control data straight from `config` instead
- const controlData = {
+ let controlData = {
...config,
...controls[name],
name,
};
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]